aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/misc/ChangeLog5
-rw-r--r--widgets/misc/e-cell-date-edit.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 00fe03d944..c5f0b889e9 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,5 +1,10 @@
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.
+
+2001-08-14 Federico Mena Quintero <federico@ximian.com>
+
* e-search-bar.c (activate_by_subitems): Correctness fixes for
when the entry and submenu must be interchanged.
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);
}