aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@ximian.com>2003-03-29 03:04:19 +0800
committerHans Petter <hansp@src.gnome.org>2003-03-29 03:04:19 +0800
commit725e53d0e3df49518005d24a679bedbaefe3f331 (patch)
treef1e8d5c9f967480eb4f55661c5cb869e5da91d4b
parent48f9f186fc277c98caed5a0431ed8645ca48388b (diff)
downloadgsoc2013-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
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/dialogs/recurrence-page.c8
2 files changed, 11 insertions, 4 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index c33d505a7a..d73c888fda 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
2003-03-28 JP Rosevear <jpr@ximian.com>
* gui/dialogs/meeting-page.c (meeting_page_init): init new members
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);