comparison src/histogram.c @ 1000:4fe8f9656107

For the sake of consistency, use glib basic types everywhere.
author zas_
date Tue, 26 Aug 2008 22:22:51 +0000
parents bbed8e9a5d33
children 1646720364cf
comparison
equal deleted inserted replaced
999:bbed8e9a5d33 1000:4fe8f9656107
162 gint histogram_draw(Histogram *histogram, GdkPixbuf *pixbuf, gint x, gint y, gint width, gint height) 162 gint histogram_draw(Histogram *histogram, GdkPixbuf *pixbuf, gint x, gint y, gint width, gint height)
163 { 163 {
164 /* FIXME: use the coordinates correctly */ 164 /* FIXME: use the coordinates correctly */
165 gint i; 165 gint i;
166 gulong max = 0; 166 gulong max = 0;
167 double logmax; 167 gdouble logmax;
168 168
169 if (!histogram) return 0; 169 if (!histogram) return 0;
170 170
171 for (i = 0; i < 1024; i++) { 171 for (i = 0; i < 1024; i++) {
172 gint flag = 0; 172 gint flag = 0;