From 5c7afa96f033ea6092586bda51e960b51bc9c98c Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 16 Aug 2001 21:35:24 +0000 Subject: If the component has no alarms remember to set the priv->updating flag to 2001-08-16 Federico Mena Quintero * 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 --- calendar/gui/dialogs/alarm-page.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'calendar/gui') 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; } -- cgit v1.2.3