int -> gint
authorLaurent Monin <geeqie@norz.org>
Tue, 8 Apr 2008 23:41:01 +0000 (23:41 +0000)
committerLaurent Monin <geeqie@norz.org>
Tue, 8 Apr 2008 23:41:01 +0000 (23:41 +0000)
src/histogram.c
src/histogram.h

index c0eb897..de6e81c 100644 (file)
@@ -133,7 +133,7 @@ gulong histogram_read(Histogram *histogram, GdkPixbuf *imgpixbuf)
 }
 
 
-int histogram_draw(Histogram *histogram, GdkPixbuf *pixbuf, gint x, gint y, gint width, gint height)
+gint histogram_draw(Histogram *histogram, GdkPixbuf *pixbuf, gint x, gint y, gint width, gint height)
 {
        /* FIXME: use the coordinates correctly */
        gint i;
@@ -143,7 +143,7 @@ int histogram_draw(Histogram *histogram, GdkPixbuf *pixbuf, gint x, gint y, gint
        if (!histogram) return 0;
 
        for (i=0; i<1024; i++) {
-               int flag = 0;
+               gint flag = 0;
 
                switch (histogram->histogram_chan)
                {
index ae8de07..5852fac 100644 (file)
@@ -28,4 +28,4 @@ gint histogram_set_mode(Histogram *histogram, gint mode);
 gint histogram_get_mode(Histogram *histogram);
 const gchar *histogram_label(Histogram *histogram);
 gulong histogram_read(Histogram *histogram, GdkPixbuf *imgpixbuf);
-int histogram_draw(Histogram *histogram, GdkPixbuf *pixbuf, gint x, gint y, gint width, gint height);
+gint histogram_draw(Histogram *histogram, GdkPixbuf *pixbuf, gint x, gint y, gint width, gint height);