From ca133393551eb77aeff1af61e04541b71be4a28a Mon Sep 17 00:00:00 2001 From: Damon Chaplin Date: Tue, 17 Jul 2001 04:18:38 +0000 Subject: destroy the dialog widget here. Fixes bug #4198. 2001-07-17 Damon Chaplin * gui/dialogs/e-timezone-dialog.c (e_timezone_dialog_destroy): destroy the dialog widget here. Fixes bug #4198. svn path=/trunk/; revision=11149 --- calendar/ChangeLog | 5 +++++ calendar/gui/dialogs/e-timezone-dialog.c | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'calendar') 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 + + * gui/dialogs/e-timezone-dialog.c (e_timezone_dialog_destroy): destroy + the dialog widget here. Fixes bug #4198. + 2001-07-16 Damon Chaplin * 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; -- cgit v1.2.3