aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-cell-date-edit.c
diff options
context:
space:
mode:
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);
}