aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/dialogs/e-timezone-dialog.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index de95f977df..b0d21ff24e 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2001-07-17 Damon Chaplin <damon@ximian.com>
+
+ * gui/dialogs/e-timezone-dialog.c (e_timezone_dialog_destroy): destroy
+ the dialog widget here. Fixes bug #4198.
+
2001-07-16 Damon Chaplin <damon@ximian.com>
* gui/dialogs/task-page.c (task_page_fill_widgets):
diff --git a/calendar/gui/dialogs/e-timezone-dialog.c b/calendar/gui/dialogs/e-timezone-dialog.c
index 0f7ba65404..1379470707 100644
--- a/calendar/gui/dialogs/e-timezone-dialog.c
+++ b/calendar/gui/dialogs/e-timezone-dialog.c
@@ -148,6 +148,7 @@ e_timezone_dialog_destroy (GtkObject *object)
{
ETimezoneDialog *etd;
ETimezoneDialogPrivate *priv;
+ GtkWidget *dialog;
g_return_if_fail (object != NULL);
g_return_if_fail (E_IS_TIMEZONE_DIALOG (object));
@@ -155,6 +156,10 @@ e_timezone_dialog_destroy (GtkObject *object)
etd = E_TIMEZONE_DIALOG (object);
priv = etd->priv;
+ /* Destroy the actual dialog. */
+ dialog = e_timezone_dialog_get_toplevel (etd);
+ gtk_widget_destroy (dialog);
+
g_free (priv->tzid);
priv->tzid = NULL;