Mercurial > geeqie
diff src/pan-calendar.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 | d6a7fb4b8e7c |
children | 1646720364cf |
line wrap: on
line diff
--- a/src/pan-calendar.c Tue Aug 26 21:19:33 2008 +0000 +++ b/src/pan-calendar.c Tue Aug 26 22:22:51 2008 +0000 @@ -239,7 +239,7 @@ DEBUG_1("biggest day contains %d images", day_max); - grid = (gint)(sqrt((double)day_max) + 0.5) * (PAN_THUMB_SIZE + PAN_SHADOW_OFFSET * 2 + PAN_THUMB_GAP); + grid = (gint)(sqrt((gdouble)day_max) + 0.5) * (PAN_THUMB_SIZE + PAN_SHADOW_OFFSET * 2 + PAN_THUMB_GAP); day_width = MAX(PAN_CAL_DAY_WIDTH, grid); day_height = MAX(PAN_CAL_DAY_HEIGHT, grid); @@ -323,7 +323,7 @@ PanItem *pi_day; gint dx, dy; gint n = 0; - char fake_path[20]; + gchar fake_path[20]; dt = pan_date_to_time(year, month, day);