aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-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);