aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-cell-date-edit.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2001-08-15 02:32:33 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2001-08-15 02:32:33 +0800
commitf6ae871a73c74bcef992a5e0371f3949eb40f7d4 (patch)
tree7824f63a61e104b9f3023a5ad4e317547738e126 /widgets/misc/e-cell-date-edit.c
parent0f680dfd18a1349da4ce752cdcc3a7ec0a3509bb (diff)
downloadgsoc2013-evolution-f6ae871a73c74bcef992a5e0371f3949eb40f7d4.tar.gz
gsoc2013-evolution-f6ae871a73c74bcef992a5e0371f3949eb40f7d4.tar.zst
gsoc2013-evolution-f6ae871a73c74bcef992a5e0371f3949eb40f7d4.zip
Destroy, do not unref, the popup_window.
2001-08-14 Federico Mena Quintero <federico@ximian.com> * e-cell-date-edit.c (e_cell_date_edit_destroy): Destroy, do not unref, the popup_window. svn path=/trunk/; revision=12022
Diffstat (limited to 'widgets/misc/e-cell-date-edit.c')
-rw-r--r--widgets/misc/e-cell-date-edit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/misc/e-cell-date-edit.c b/widgets/misc/e-cell-date-edit.c
index f6670c844e..d80f988f55 100644
--- a/widgets/misc/e-cell-date-edit.c
+++ b/widgets/misc/e-cell-date-edit.c
@@ -286,7 +286,8 @@ e_cell_date_edit_destroy (GtkObject *object)
e_cell_date_edit_set_get_time_callback (ecde, NULL, NULL, NULL);
- gtk_widget_unref (ecde->popup_window);
+ gtk_widget_destroy (ecde->popup_window);
+ ecde->popup_window = NULL;
GTK_OBJECT_CLASS (parent_class)->destroy (object);
}