Mercurial > geeqie
comparison src/dnd.c @ 1420:3a9fb1b52559
Use gboolean where applicable, for the sake of consistency.
author | zas_ |
---|---|
date | Thu, 12 Mar 2009 21:06:37 +0000 |
parents | 79b32088ecc4 |
children | 956aab097ea7 |
comparison
equal
deleted
inserted
replaced
1419:c520cfd40aef | 1420:3a9fb1b52559 |
---|---|
36 #define DND_ICON_SIZE (options->dnd_icon_size) | 36 #define DND_ICON_SIZE (options->dnd_icon_size) |
37 | 37 |
38 | 38 |
39 static void pixbuf_draw_border(GdkPixbuf *pixbuf, gint w, gint h) | 39 static void pixbuf_draw_border(GdkPixbuf *pixbuf, gint w, gint h) |
40 { | 40 { |
41 gint alpha; | 41 gboolean alpha; |
42 gint rs; | 42 gint rs; |
43 guchar *pix; | 43 guchar *pix; |
44 guchar *p; | 44 guchar *p; |
45 gint i; | 45 gint i; |
46 | 46 |
72 } | 72 } |
73 } | 73 } |
74 | 74 |
75 static void pixbuf_draw_rect(GdkPixbuf *pixbuf, gint x, gint y, gint w, gint h, guint8 val) | 75 static void pixbuf_draw_rect(GdkPixbuf *pixbuf, gint x, gint y, gint w, gint h, guint8 val) |
76 { | 76 { |
77 gint alpha; | 77 gboolean alpha; |
78 gint rs; | 78 gint rs; |
79 guchar *pix; | 79 guchar *pix; |
80 guchar *p; | 80 guchar *p; |
81 gint i, j; | 81 gint i, j; |
82 | 82 |