Mercurial > geeqie
diff src/layout.c @ 1431:7e180091e0b7
More gboolean and tidy up.
author | zas_ |
---|---|
date | Sat, 14 Mar 2009 11:26:43 +0000 |
parents | 9fe2fede7ae5 |
children | b4ad1d201279 |
line wrap: on
line diff
--- a/src/layout.c Sat Mar 14 10:34:42 2009 +0000 +++ b/src/layout.c Sat Mar 14 11:26:43 2009 +0000 @@ -348,7 +348,8 @@ static void layout_color_menu_use_image_cb(GtkWidget *widget, gpointer data) { LayoutWindow *lw = data; - gint input, screen, use_image; + gint input, screen; + gboolean use_image; if (!layout_image_color_profile_get(lw, &input, &screen, &use_image)) return; layout_image_color_profile_set(lw, input, screen, !use_image); @@ -361,7 +362,8 @@ { LayoutWindow *lw = data; gint type; - gint input, screen, use_image; + gint input, screen; + gboolean use_image; if (!gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(widget))) return; @@ -379,7 +381,8 @@ { LayoutWindow *lw = data; gint type; - gint input, screen, use_image; + gint input, screen; + gboolean use_image; if (!gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(widget))) return; @@ -418,8 +421,8 @@ gboolean active; gint input = 0; gint screen = 0; - gint use_image = 0; - gboolean from_image = FALSE; + gboolean use_image = FALSE; + gboolean from_image; gint image_profile; gint i;