Skip to content

Commit

Permalink
Remove commented out code.
Browse files Browse the repository at this point in the history
  • Loading branch information
zas committed Aug 30, 2012
1 parent 45f1cb3 commit 173d214
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/pan-calendar.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,22 +86,11 @@ void pan_calendar_update(PanWindow *pw, PanItem *pi_day)
}
}

#if 0
if (!list) return;
#endif

grid = (gint)(sqrt(g_list_length(list)) + 0.5);

x = pi_day->x + pi_day->width + 4;
y = pi_day->y;

#if 0
if (y + grid * (PAN_THUMB_SIZE + PAN_THUMB_GAP) + PAN_BOX_BORDER * 4 > pw->pr->image_height)
{
y = pw->pr->image_height - (grid * (PAN_THUMB_SIZE + PAN_THUMB_GAP) + PAN_BOX_BORDER * 4);
}
#endif

pbox = pan_item_box_new(pw, NULL, x, y, PAN_BOX_BORDER, PAN_BOX_BORDER,
PAN_CAL_POPUP_BORDER,
PAN_CAL_POPUP_COLOR, PAN_CAL_POPUP_ALPHA,
Expand Down

0 comments on commit 173d214

Please sign in to comment.