aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarish Krishnaswamy <kharish@novell.com>2004-12-24 12:42:16 +0800
committerHarish Krishnaswamy <kharish@src.gnome.org>2004-12-24 12:42:16 +0800
commit756599a28c39a84401d77e297766e52647e57683 (patch)
treee3380d837586704acfdac7f4dfeb6646676da6ee
parente1fec87c2d1e2faa5667105d1d6d174a006dd72b (diff)
downloadgsoc2013-evolution-756599a28c39a84401d77e297766e52647e57683.tar.gz
gsoc2013-evolution-756599a28c39a84401d77e297766e52647e57683.tar.zst
gsoc2013-evolution-756599a28c39a84401d77e297766e52647e57683.zip
Check for the existence of the meet/sched pages before attempting to
2004-12-24 Harish Krishnaswamy <kharish@novell.com> * gui/dialogs/event-editor.c (event_editor_edit_comp): Check for the existence of the meet/sched pages before attempting to remove them. svn path=/trunk/; revision=28196
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/dialogs/event-editor.c6
2 files changed, 9 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 29f3147141..67fbadee9d 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-24 Harish Krishnaswamy <kharish@novell.com>
+ * gui/dialogs/event-editor.c (event_editor_edit_comp):
+ Check for the existense of the meet/sched pages before
+ attempting to remove them.
+
2004-12-23 Chenthill Palanisamy <pchenthill@novell.com>
Part of merge from offline branch
diff --git a/calendar/gui/dialogs/event-editor.c b/calendar/gui/dialogs/event-editor.c
index d804744e36..d9c558bec3 100644
--- a/calendar/gui/dialogs/event-editor.c
+++ b/calendar/gui/dialogs/event-editor.c
@@ -210,8 +210,10 @@ event_editor_edit_comp (CompEditor *editor, ECalComponent *comp)
/* Set up the attendees */
if (attendees == NULL && !priv->is_meeting) {
- comp_editor_remove_page (editor, COMP_EDITOR_PAGE (priv->meet_page));
- comp_editor_remove_page (editor, COMP_EDITOR_PAGE (priv->sched_page));
+ if (priv->meet_page)
+ comp_editor_remove_page (editor, COMP_EDITOR_PAGE (priv->meet_page));
+ if (priv->sched_page)
+ comp_editor_remove_page (editor, COMP_EDITOR_PAGE (priv->sched_page));
priv->meeting_shown = FALSE;
} else {
GSList *l;
file to 7.0.2ultima2019-06-171-3/+3 * Updated seafile to 7.0.1ultima2019-06-101-3/+3 * * Updated to 6.3.13ultima2019-03-171-3/+3 * * Updated to 6.3.11ultima2019-01-291-3/+3 * * Updated to 6.3.10ultima2019-01-121-3/+3 * * Updated seahub to 6.3.9ultima2018-12-261-3/+3 * * Updated Seahub to 6.3.7ultima2018-10-251-3/+3 * Cleanup plistsantoine2018-10-012-19/+19 * * Updated to 6.3.6ultima2018-09-241-3/+3 * * Updated Seafile to 6.3.4, Updated Seahub to 6.3.5.ultima2018-09-181-3/+3 * Update Seafile family to 6.3.1ultima2018-06-142-3/+6 * * Updated Seahub to 6.2.12ultima2018-04-231-3/+3 * * Updated to 6.1.11ultima2018-04-201-3/+3 * * Updated to 6.2.10ultima2018-03-221-3/+3 * * Update Seahub to 6.2.9ultima2018-02-131-3/+3 * * Updated Seafile to 6.2.5, Seahub to 6.2.8ultima2018-02-011-3/+3 * * Updated to 6.2.7ultima2018-01-231-3/+3 * * Update Seafile to 6.2.4ultima2018-01-121-5/+3 * * Updated to 6.2.4ultima2017-12-211-3/+5 * * Updated to 6.2.2ultima2017-12-121-3/+3 * * Updated to 6.2.1ultima2017-12-041-3/+3 * Convert Python ports to FLAVORS.mat2017-11-301-0/+1 * * Updated Seafile to 6.2.2, Seahub to 6.2.0ultima2017-10-141-3/+3 * * Updated to 6.1.9ultima2017-09-301-3/+3 * * Updated to 6.1.8ultima2017-09-051-3/+3 * * Updated to 6.1.7ultima2017-08-182-6/+6 * * Updated to 6.1.6ultima2017-07-231-3/+3 * * Updated to 6.1.5ultima2017-07-201-3/+3 * * Updated to 6.1.4ultima2017-07-141-3/+3 * * Updated to 6.1.3ultima2017-07-061-3/+3 * * Updated maintainer emailultima2017-07-041-1/+1 * * Updated to 6.1.2ultima2017-07-041-3/+3 * * Updated to 6.1.1ultima2017-06-251-3/+3 * update seafile to 6.0.10 and seahub to 6.0.13lifanov2017-04-283-67/+55 * update net-mgmt/seafile-server to 6.0.9lifanov2017-03-312-4/+6 * update www/py-seafobj to 6.0.8lifanov2017-03-102-4/+4 * www/py-seafobj: update 5.1.6 -> 6.0.3pi2016-11-193-5/+6 * www/py-seafobj: 5.1.5 -> 5.1.6pi2016-05-312-4/+4 * - Update to 5.1.5amdmi32016-05-263-9/+16 * www/py-seafobj: update to 5.1.0rm2015-11-193-4/+9 * www/py-seafobj: pass MAINTAINER to submitterjunovitch2015-10-291-1/+1 * Update ports in the remaining categories to not use GH_COMMIT.mat2015-05-082-4/+4 * www/py-seafobj: Upgrade version 3.0.4 => 4.0.5marino2015-03-022-6/+5 * www/py-seafobj: Relocate python filesmarino2015-02-232-44/+64