diff options
author | Damon Chaplin <damon@ximian.com> | 2001-07-17 12:18:38 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2001-07-17 12:18:38 +0800 |
commit | ca133393551eb77aeff1af61e04541b71be4a28a (patch) | |
tree | 48d9947c12b54101c5060b12d541d88c9fa70873 /calendar/gui/dialogs | |
parent | 46a77aef7efcce5e06af1292ac73d03913992e96 (diff) | |
download | gsoc2013-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
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r-- | calendar/gui/dialogs/e-timezone-dialog.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; |