changeset 1269:08b4598c7cba

gint -> gboolean.
author zas_
date Thu, 29 Jan 2009 19:07:07 +0000
parents 8c39e0bd7e08
children 13e96406760b
files src/image.c src/image.h src/layout_image.c src/layout_image.h
diffstat 4 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/image.c	Thu Jan 29 19:00:24 2009 +0000
+++ b/src/image.c	Thu Jan 29 19:07:07 2009 +0000
@@ -1239,7 +1239,7 @@
 	pixbuf_renderer_zoom_set((PixbufRenderer *)imd->pr, zoom);
 }
 
-void image_zoom_set_fill_geometry(ImageWindow *imd, gint vertical)
+void image_zoom_set_fill_geometry(ImageWindow *imd, gboolean vertical)
 {
 	PixbufRenderer *pr;
 	gdouble zoom;
--- a/src/image.h	Thu Jan 29 19:00:24 2009 +0000
+++ b/src/image.h	Thu Jan 29 19:07:07 2009 +0000
@@ -79,7 +79,7 @@
 void image_zoom_adjust_at_point(ImageWindow *imd, gdouble increment, gint x, gint y);
 void image_zoom_set_limits(ImageWindow *imd, gdouble min, gdouble max);
 void image_zoom_set(ImageWindow *imd, gdouble zoom);
-void image_zoom_set_fill_geometry(ImageWindow *imd, gint vertical);
+void image_zoom_set_fill_geometry(ImageWindow *imd, gboolean vertical);
 gdouble image_zoom_get(ImageWindow *imd);
 gdouble image_zoom_get_real(ImageWindow *imd);
 gchar *image_zoom_get_as_text(ImageWindow *imd);
--- a/src/layout_image.c	Thu Jan 29 19:00:24 2009 +0000
+++ b/src/layout_image.c	Thu Jan 29 19:07:07 2009 +0000
@@ -864,7 +864,7 @@
 		}
 }
 
-void layout_image_zoom_set_fill_geometry(LayoutWindow *lw, gint vertical, gboolean connect_zoom)
+void layout_image_zoom_set_fill_geometry(LayoutWindow *lw, gboolean vertical, gboolean connect_zoom)
 {
 	gint i;
 	if (!layout_valid(&lw)) return;
--- a/src/layout_image.h	Thu Jan 29 19:00:24 2009 +0000
+++ b/src/layout_image.h	Thu Jan 29 19:07:07 2009 +0000
@@ -50,7 +50,7 @@
 void layout_image_zoom_adjust(LayoutWindow *lw, gdouble increment, gboolean connect_zoom);
 void layout_image_zoom_adjust_at_point(LayoutWindow *lw, gdouble increment, gint x, gint y, gboolean connect_zoom);
 void layout_image_zoom_set(LayoutWindow *lw, gdouble zoom, gboolean connect_zoom);
-void layout_image_zoom_set_fill_geometry(LayoutWindow *lw, gint vertical, gboolean connect_zoom);
+void layout_image_zoom_set_fill_geometry(LayoutWindow *lw, gboolean vertical, gboolean connect_zoom);
 void layout_image_alter(LayoutWindow *lw, AlterType type);
 
 void layout_image_next(LayoutWindow *lw);