aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.c
diff options
context:
space:
mode:
authorSuman Manjunath <msuman@src.gnome.org>2008-05-22 12:44:07 +0800
committerSuman Manjunath <msuman@src.gnome.org>2008-05-22 12:44:07 +0800
commite1d0bcf694c806af75cb4d9683d1941d9721a1f9 (patch)
tree1f61a0c9c9c0d05c30a6a1535a885f507d7a8757 /calendar/gui/e-day-view.c
parent8f88ab7e6c98f1d2cce2d18eef254b2b4f0591d7 (diff)
downloadgsoc2013-evolution-e1d0bcf694c806af75cb4d9683d1941d9721a1f9.tar
gsoc2013-evolution-e1d0bcf694c806af75cb4d9683d1941d9721a1f9.tar.gz
gsoc2013-evolution-e1d0bcf694c806af75cb4d9683d1941d9721a1f9.tar.bz2
gsoc2013-evolution-e1d0bcf694c806af75cb4d9683d1941d9721a1f9.tar.lz
gsoc2013-evolution-e1d0bcf694c806af75cb4d9683d1941d9721a1f9.tar.xz
gsoc2013-evolution-e1d0bcf694c806af75cb4d9683d1941d9721a1f9.tar.zst
gsoc2013-evolution-e1d0bcf694c806af75cb4d9683d1941d9721a1f9.zip
Patch from Chenthill Palanisamy <pchenthill@novell.com> ** Fix for bug #533820 (crash on double-clicking the border of meetings in day-view)
svn path=/trunk/; revision=35525
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r--calendar/gui/e-day-view.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index c91ae69626..c4cf1a2e4c 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -3822,6 +3822,9 @@ e_day_view_update_resize (EDayView *day_view,
g_print ("Updating resize Row:%i\n", row);
#endif
+ if (day_view->resize_event_num == -1)
+ return;
+
day = day_view->resize_event_day;
event_num = day_view->resize_event_num;
event = &g_array_index (day_view->events[day], EDayViewEvent,
@@ -3972,6 +3975,9 @@ e_day_view_finish_resize (EDayView *day_view)
CalObjModType mod = CALOBJ_MOD_ALL;
GtkWindow *toplevel;
+ if (day_view->resize_event_num == -1)
+ return;
+
day = day_view->resize_event_day;
event_num = day_view->resize_event_num;
event = &g_array_index (day_view->events[day], EDayViewEvent,