diff options
Diffstat (limited to 'calendar/gui/dialogs/recurrence-page.c')
-rw-r--r-- | calendar/gui/dialogs/recurrence-page.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/recurrence-page.c b/calendar/gui/dialogs/recurrence-page.c index c5c45def15..e1656ad83f 100644 --- a/calendar/gui/dialogs/recurrence-page.c +++ b/calendar/gui/dialogs/recurrence-page.c @@ -1747,7 +1747,9 @@ get_widgets (RecurrencePage *rpage) #define GW(name) glade_xml_get_widget (priv->xml, name) priv->main = GW ("recurrence-page"); - g_assert (priv->main); + if (!priv->main) + return FALSE; + gtk_widget_ref (priv->main); gtk_widget_unparent (priv->main); |