evolution r35525 - in trunk/calendar: . gui



Author: msuman
Date: Thu May 22 04:44:07 2008
New Revision: 35525
URL: http://svn.gnome.org/viewvc/evolution?rev=35525&view=rev

Log:
Patch from Chenthill Palanisamy  <pchenthill novell com> ** Fix for bug #533820 (crash on double-clicking the border of meetings in day-view)

Modified:
   trunk/calendar/ChangeLog
   trunk/calendar/gui/e-day-view.c

Modified: trunk/calendar/gui/e-day-view.c
==============================================================================
--- trunk/calendar/gui/e-day-view.c	(original)
+++ trunk/calendar/gui/e-day-view.c	Thu May 22 04:44:07 2008
@@ -3822,6 +3822,9 @@
 	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 @@
 	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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]