Mercurial > geeqie.yaz
diff src/image-overlay.c @ 1433:b4ad1d201279
Use gboolean where applicable, minor cleanup and indentations fixes.
author | zas_ |
---|---|
date | Sat, 14 Mar 2009 19:25:21 +0000 |
parents | fe4da037be21 |
children | 2441a90c4bcf |
line wrap: on
line diff
--- a/src/image-overlay.c Sat Mar 14 17:21:35 2009 +0000 +++ b/src/image-overlay.c Sat Mar 14 19:25:21 2009 +0000 @@ -58,7 +58,7 @@ typedef struct _OSDIcon OSDIcon; struct _OSDIcon { - gint reset; /* reset on new image */ + gboolean reset; /* reset on new image */ gint x; /* x, y offset */ gint y; gchar *key; /* inline pixbuf */ @@ -818,7 +818,7 @@ osd->ovl_info = 0; } -static gint image_osd_update_cb(gpointer data) +static gboolean image_osd_update_cb(gpointer data) { OverlayStateData *osd = data; @@ -888,7 +888,7 @@ return FALSE; } -static void image_osd_update_schedule(OverlayStateData *osd, gint force) +static void image_osd_update_schedule(OverlayStateData *osd, gboolean force) { if (force) osd->changed_states |= IMAGE_STATE_IMAGE; @@ -907,11 +907,11 @@ image_osd_update_schedule(osd, TRUE); } -static gint image_osd_timer_cb(gpointer data) +static gboolean image_osd_timer_cb(gpointer data) { OverlayStateData *osd = data; - gint done = TRUE; - gint changed = FALSE; + gboolean done = TRUE; + gboolean changed = FALSE; gint i; for (i = 0; i < IMAGE_OSD_COUNT; i++)