Mercurial > geeqie
diff src/pan-calendar.c @ 442:4b2d7f9af171
Big whitespaces cleanup:
- drop whitespaces at end of lines
- convert eight spaces to tab at start of lines
- drop spurious spaces mixed with tabs
- remove empty lines at end of files
author | zas_ |
---|---|
date | Sun, 20 Apr 2008 13:04:57 +0000 |
parents | 8cecb9695d28 |
children | ddabc4873a3f |
line wrap: on
line diff
--- a/src/pan-calendar.c Sun Apr 20 10:05:27 2008 +0000 +++ b/src/pan-calendar.c Sun Apr 20 13:04:57 2008 +0000 @@ -59,7 +59,7 @@ gint x, y, w, h; gint grid; gint column; - + while ((pi = pan_item_find_by_key(pw, PAN_ITEM_NONE, "day_bubble"))) pan_item_remove(pw, pi); if (!pi_day || pi_day->type != PAN_ITEM_BOX || @@ -324,13 +324,13 @@ char fake_path[20]; dt = pan_date_to_time(year, month, day); - - /* - * Create a FileData entry that represents the given day. + + /* + * Create a FileData entry that represents the given day. * It does not correspond to any real file - */ - - g_snprintf(fake_path, sizeof(fake_path), "//%04d-%02d-%02d", year, month, day); + */ + + g_snprintf(fake_path, sizeof(fake_path), "//%04d-%02d-%02d", year, month, day); fd = file_data_new_simple(fake_path); fd->date = dt; pi_day = pan_item_box_new(pw, fd, x, y, PAN_CAL_DAY_WIDTH, PAN_CAL_DAY_HEIGHT,