From f6ae871a73c74bcef992a5e0371f3949eb40f7d4 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Tue, 14 Aug 2001 18:32:33 +0000 Subject: Destroy, do not unref, the popup_window. 2001-08-14 Federico Mena Quintero * e-cell-date-edit.c (e_cell_date_edit_destroy): Destroy, do not unref, the popup_window. svn path=/trunk/; revision=12022 --- widgets/misc/ChangeLog | 5 +++++ widgets/misc/e-cell-date-edit.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'widgets') diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index 00fe03d944..c5f0b889e9 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,8 @@ +2001-08-14 Federico Mena Quintero + + * e-cell-date-edit.c (e_cell_date_edit_destroy): Destroy, do not + unref, the popup_window. + 2001-08-14 Federico Mena Quintero * e-search-bar.c (activate_by_subitems): Correctness fixes for 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); } -- cgit