diff options
author | Hans Petter Jansson <hpj@ximian.com> | 2003-03-29 03:04:19 +0800 |
---|---|---|
committer | Hans Petter <hansp@src.gnome.org> | 2003-03-29 03:04:19 +0800 |
commit | 725e53d0e3df49518005d24a679bedbaefe3f331 (patch) | |
tree | f1e8d5c9f967480eb4f55661c5cb869e5da91d4b /calendar/gui | |
parent | 48f9f186fc277c98caed5a0431ed8645ca48388b (diff) | |
download | gsoc2013-evolution-725e53d0e3df49518005d24a679bedbaefe3f331.tar.gz gsoc2013-evolution-725e53d0e3df49518005d24a679bedbaefe3f331.tar.zst gsoc2013-evolution-725e53d0e3df49518005d24a679bedbaefe3f331.zip |
Fixes #39954
2003-03-28 Hans Petter Jansson <hpj@ximian.com>
Fixes #39954
* gui/dialogs/recurrence-page.c (make_recurrence_special):
Destroy would-be children of the container before the container.
svn path=/trunk/; revision=20559
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/dialogs/recurrence-page.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/calendar/gui/dialogs/recurrence-page.c b/calendar/gui/dialogs/recurrence-page.c index 1a7c5533fd..aa77ee3990 100644 --- a/calendar/gui/dialogs/recurrence-page.c +++ b/calendar/gui/dialogs/recurrence-page.c @@ -1217,16 +1217,16 @@ make_recurrence_special (RecurrencePage *rpage) priv = rpage->priv; + if (priv->month_num_menu != NULL) { + gtk_widget_destroy (priv->month_num_menu); + priv->month_num_menu = NULL; + } if (GTK_BIN (priv->special)->child != NULL) { gtk_widget_destroy (GTK_BIN (priv->special)->child); priv->weekday_picker = NULL; priv->month_day_menu = NULL; } - if (priv->month_num_menu != NULL) { - gtk_widget_destroy (priv->month_num_menu); - priv->month_num_menu = NULL; - } frequency = e_dialog_option_menu_get (priv->interval_unit, freq_map); |