aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
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
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')
-rw-r--r--calendar/ChangeLog12
-rw-r--r--calendar/gui/e-day-view.c6
2 files changed, 16 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 2866dea905..cfd1657764 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,11 @@
+2008-05-22 Chenthill Palanisamy <pchenthill@novell.com>
+
+ ** Fix for bug #533820
+
+ * gui/e-day-view.c: (e_day_view_update_resize),
+ (e_day_view_finish_resize): Fix for a crash on double-clicking the
+ border of meetings in day-view.
+
2008-05-08 Tor Lillqvist <tml@novell.com>
* gui/alarm-notify/alarm-notify-dialog.c: Include e-util-private.h
@@ -32,8 +40,8 @@
2008-04-30 Ashish Shrivastava <shashish@novell.com>
- ** Fix for bnc #368277
- Can't C & P Email Addresses from an Appt. to a Mail Message
+ ** Fix for bnc #368277
+ Can't C & P Email Addresses from an Appt. to a Mail Message
* gui/e-select-names-renderer.c:
(e_select_names_renderer_start_editing):
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,