aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2001-08-17 05:35:24 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2001-08-17 05:35:24 +0800
commit5c7afa96f033ea6092586bda51e960b51bc9c98c (patch)
treecb33b151e3c6a812a5d621d9d13a9505b54d5b9d /calendar/gui/dialogs
parente83ee52ce58c6909b57e2137505ad504d596a6b3 (diff)
downloadgsoc2013-evolution-5c7afa96f033ea6092586bda51e960b51bc9c98c.tar
gsoc2013-evolution-5c7afa96f033ea6092586bda51e960b51bc9c98c.tar.gz
gsoc2013-evolution-5c7afa96f033ea6092586bda51e960b51bc9c98c.tar.bz2
gsoc2013-evolution-5c7afa96f033ea6092586bda51e960b51bc9c98c.tar.lz
gsoc2013-evolution-5c7afa96f033ea6092586bda51e960b51bc9c98c.tar.xz
gsoc2013-evolution-5c7afa96f033ea6092586bda51e960b51bc9c98c.tar.zst
gsoc2013-evolution-5c7afa96f033ea6092586bda51e960b51bc9c98c.zip
If the component has no alarms remember to set the priv->updating flag to
2001-08-16 Federico Mena Quintero <federico@ximian.com> * gui/dialogs/alarm-page.c (alarm_page_fill_widgets): If the component has no alarms remember to set the priv->updating flag to FALSE before returning. svn path=/trunk/; revision=12128
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/alarm-page.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/alarm-page.c b/calendar/gui/dialogs/alarm-page.c
index 1d3012fc9b..9cf15bafd7 100644
--- a/calendar/gui/dialogs/alarm-page.c
+++ b/calendar/gui/dialogs/alarm-page.c
@@ -490,7 +490,7 @@ alarm_page_fill_widgets (CompEditorPage *page, CalComponent *comp)
/* List */
if (!cal_component_has_alarms (comp))
- return;
+ goto out;
alarms = cal_component_get_alarm_uids (comp);
@@ -510,6 +510,8 @@ alarm_page_fill_widgets (CompEditorPage *page, CalComponent *comp)
}
cal_obj_uid_list_free (alarms);
+ out:
+
priv->updating = FALSE;
}