From a86bcdd036ea915f23e3532748ca726de039d584 Mon Sep 17 00:00:00 2001 From: Jon Trowbridge Date: Fri, 7 Dec 2001 00:17:04 +0000 Subject: Explicitly destroy the EMeetingModel. This is a hack to work around 2001-12-06 Jon Trowbridge * gui/dialogs/event-editor.c (event_editor_destroy): Explicitly destroy the EMeetingModel. This is a hack to work around problems with the reference counting; we are still leaking the EMeetingModels. * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct): Ref our EMeetingModel. (e_meeting_time_selector_destroy): Unref the model. * gui/e-meeting-model.c (destroy): Properly destroy corba_select_names with a call to bonobo_object_release_unref. (Fixes 14002) svn path=/trunk/; revision=14919 --- calendar/gui/dialogs/event-editor.c | 1 + 1 file changed, 1 insertion(+) (limited to 'calendar/gui/dialogs') diff --git a/calendar/gui/dialogs/event-editor.c b/calendar/gui/dialogs/event-editor.c index 7fa48546cc..1c70b36858 100644 --- a/calendar/gui/dialogs/event-editor.c +++ b/calendar/gui/dialogs/event-editor.c @@ -328,6 +328,7 @@ event_editor_destroy (GtkObject *object) gtk_object_unref (GTK_OBJECT (priv->meet_page)); gtk_object_unref (GTK_OBJECT (priv->sched_page)); + gtk_object_destroy (GTK_OBJECT (priv->model)); gtk_object_unref (GTK_OBJECT (priv->model)); if (GTK_OBJECT_CLASS (parent_class)->destroy) -- cgit v1.2.3