Mercurial > geeqie.yaz
diff src/similar.c @ 1420:3a9fb1b52559
Use gboolean where applicable, for the sake of consistency.
author | zas_ |
---|---|
date | Thu, 12 Mar 2009 21:06:37 +0000 |
parents | 8b89e3ff286b |
children | a6f9ba6fd751 |
line wrap: on
line diff
--- a/src/similar.c Wed Mar 11 23:36:01 2009 +0000 +++ b/src/similar.c Thu Mar 12 21:06:37 2009 +0000 @@ -44,14 +44,14 @@ * improve the result, and hopes to reduce false positives. */ -static gint alternate_enabled = FALSE; +static gboolean alternate_enabled = FALSE; -void image_sim_alternate_set(gint enable) +void image_sim_alternate_set(gboolean enable) { alternate_enabled = enable; } -gint image_sim_alternate_enabled(void) +gboolean image_sim_alternate_enabled(void) { return alternate_enabled; } @@ -183,8 +183,8 @@ gint x_inc, y_inc, xy_inc; gint xs, ys; - gint x_small = FALSE; /* if less than 32 w or h, set TRUE */ - gint y_small = FALSE; + gboolean x_small = FALSE; /* if less than 32 w or h, set TRUE */ + gboolean y_small = FALSE; if (!sd || !pixbuf) return;