projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a6cccf
)
Drop unused variables and associated code.
author
Laurent Monin
<zas@norz.org>
Thu, 30 Aug 2012 12:26:21 +0000
(14:26 +0200)
committer
Laurent Monin
<zas@norz.org>
Thu, 30 Aug 2012 12:26:21 +0000
(14:26 +0200)
src/pan-calendar.c
patch
|
blob
|
history
diff --git
a/src/pan-calendar.c
b/src/pan-calendar.c
index
67d74df
..
3934729
100644
(file)
--- a/
src/pan-calendar.c
+++ b/
src/pan-calendar.c
@@
-194,8
+194,6
@@
void pan_calendar_compute(PanWindow *pw, FileData *dir_fd, gint *width, gint *he
time_t tc;
gint count;
gint day_max;
- gint day_width;
- gint day_height;
gint grid;
gint year = 0;
gint month = 0;
@@
-240,8
+238,6
@@
void pan_calendar_compute(PanWindow *pw, FileData *dir_fd, gint *width, gint *he
DEBUG_1("biggest day contains %d images", day_max);
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);
if (list)
{