changeset 2133:3384ddc4abb5

Drop unused variables and associated code.
author Laurent Monin <zas@norz.org>
date Thu, 30 Aug 2012 14:26:21 +0200
parents e8df5a39862c
children be0b04d8e90d
files src/pan-calendar.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/pan-calendar.c	Thu Aug 30 14:21:41 2012 +0200
+++ b/src/pan-calendar.c	Thu Aug 30 14:26:21 2012 +0200
@@ -194,8 +194,6 @@
 	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 @@
 	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)
 		{