Skip to content

Commit

Permalink
int -> gint
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurent Monin committed Apr 8, 2008
1 parent ea52620 commit ce0e2d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/histogram.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion src/histogram.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit ce0e2d8

Please sign in to comment.