Mercurial > geeqie.yaz
diff src/histogram.c @ 1431:7e180091e0b7
More gboolean and tidy up.
author | zas_ |
---|---|
date | Sat, 14 Mar 2009 11:26:43 +0000 |
parents | 5f21db044ec4 |
children | cf4029d10d38 |
line wrap: on
line diff
--- a/src/histogram.c Sat Mar 14 10:34:42 2009 +0000 +++ b/src/histogram.c Sat Mar 14 11:26:43 2009 +0000 @@ -213,7 +213,7 @@ } } -gint histogram_draw(Histogram *histogram, const HistMap *histmap, GdkPixbuf *pixbuf, gint x, gint y, gint width, gint height) +gboolean histogram_draw(Histogram *histogram, const HistMap *histmap, GdkPixbuf *pixbuf, gint x, gint y, gint width, gint height) { /* FIXME: use the coordinates correctly */ gint i; @@ -222,7 +222,7 @@ gint combine = (HISTMAP_SIZE - 1) / width + 1; gint ypos = y + height; - if (!histogram || !histmap) return 0; + if (!histogram || !histmap) return FALSE; /* Draw the grid */ histogram_vgrid(histogram, pixbuf, x, y, width, height);