diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2006-10-17 02:15:43 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2006-10-17 02:15:43 +0800 |
commit | 9c6bce4c376a2add62ed8ce0b2fef36e171161ff (patch) | |
tree | f3646a6b4b71c555590f0205453bc4fc7767996d /calendar/gui/e-day-view.c | |
parent | 3c39e9cc89192c13787b7838b8054793ab624839 (diff) | |
download | gsoc2013-evolution-9c6bce4c376a2add62ed8ce0b2fef36e171161ff.tar.gz gsoc2013-evolution-9c6bce4c376a2add62ed8ce0b2fef36e171161ff.tar.zst gsoc2013-evolution-9c6bce4c376a2add62ed8ce0b2fef36e171161ff.zip |
Fixes #332101
svn path=/trunk/; revision=32902
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r-- | calendar/gui/e-day-view.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index b5c5a3b30f..cb10faac3f 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -2475,11 +2475,11 @@ e_day_view_update_event_label (EDayView *day_view, if ((interval/day_view->mins_per_row) >= 2) short_event = FALSE; - else if ((interval%day_view->mins_per_row)==0) + else if ((interval%day_view->mins_per_row)==0) { if (((event->end_minute%day_view->mins_per_row)==0) || ((event->start_minute%day_view->mins_per_row)==0)){ short_event = TRUE; } - else + } else short_event = FALSE; if (!editing_event) { @@ -7155,7 +7155,7 @@ e_day_view_on_text_item_event (GnomeCanvasItem *item, pevent->y = ((GdkEventCrossing *)event)->y_root; pevent->tooltip = NULL; - data->cal_view = day_view; + data->cal_view = (ECalendarView *)day_view; data->day = day; data->event_num = event_num; data->get_view_event = tooltip_get_view_event; |