aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamon Chaplin <damon@ximian.com>2001-07-17 12:18:38 +0800
committerDamon Chaplin <damon@src.gnome.org>2001-07-17 12:18:38 +0800
commitca133393551eb77aeff1af61e04541b71be4a28a (patch)
tree48d9947c12b54101c5060b12d541d88c9fa70873
parent46a77aef7efcce5e06af1292ac73d03913992e96 (diff)
downloadgsoc2013-evolution-ca133393551eb77aeff1af61e04541b71be4a28a.tar.gz
gsoc2013-evolution-ca133393551eb77aeff1af61e04541b71be4a28a.tar.zst
gsoc2013-evolution-ca133393551eb77aeff1af61e04541b71be4a28a.zip
destroy the dialog widget here. Fixes bug #4198.
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. svn path=/trunk/; revision=11149
-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;