diff options
author | JP Rosevear <jpr@ximian.com> | 2003-04-30 02:51:51 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2003-04-30 02:51:51 +0800 |
commit | 63d47beb222c34ec02e127e51a5471fc2029b4c1 (patch) | |
tree | 020cd088a8bb4cc5a9823de411e5e94784e93d9a /calendar/gui | |
parent | 7a8383281d0166b7ac202ff380ea14a19cc2a051 (diff) | |
download | gsoc2013-evolution-63d47beb222c34ec02e127e51a5471fc2029b4c1.tar.gz gsoc2013-evolution-63d47beb222c34ec02e127e51a5471fc2029b4c1.tar.zst gsoc2013-evolution-63d47beb222c34ec02e127e51a5471fc2029b4c1.zip |
ditto
2003-04-29 JP Rosevear <jpr@ximian.com>
* gui/dialogs/task-editor.c (task_editor_finalize): ditto
* gui/dialogs/event-editor.c (event_editor_finalize): don't unref
the model here
* gui/e-meeting-time-sel.c (e_meeting_time_selector_destroy): null
up the display_top and display_main for re-entrancy purposes
svn path=/trunk/; revision=21018
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/dialogs/event-editor.c | 6 | ||||
-rw-r--r-- | calendar/gui/dialogs/task-editor.c | 6 | ||||
-rw-r--r-- | calendar/gui/e-meeting-time-sel.c | 3 |
3 files changed, 13 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/event-editor.c b/calendar/gui/dialogs/event-editor.c index 9004d96e89..73bb0e7d7b 100644 --- a/calendar/gui/dialogs/event-editor.c +++ b/calendar/gui/dialogs/event-editor.c @@ -395,7 +395,11 @@ event_editor_finalize (GObject *object) g_object_unref((priv->meet_page)); g_object_unref((priv->sched_page)); - g_object_unref((priv->model)); +#if 0 + /* FIXME we don't unref here because we "sink" in + e-meeting-model.c:init */ + g_object_unref (priv->model); +#endif g_free (priv); diff --git a/calendar/gui/dialogs/task-editor.c b/calendar/gui/dialogs/task-editor.c index 472f12dde0..d6f54bb288 100644 --- a/calendar/gui/dialogs/task-editor.c +++ b/calendar/gui/dialogs/task-editor.c @@ -349,7 +349,11 @@ task_editor_finalize (GObject *object) g_object_unref((priv->task_details_page)); g_object_unref((priv->meet_page)); - g_object_unref((priv->model)); +#if 0 + /* FIXME we don't unref here because we "sink" in + e-meeting-model.c:init */ + g_object_unref (priv->model); +#endif if (G_OBJECT_CLASS (parent_class)->finalize) (* G_OBJECT_CLASS (parent_class)->finalize) (object); diff --git a/calendar/gui/e-meeting-time-sel.c b/calendar/gui/e-meeting-time-sel.c index bf113c0b23..b1d7ff0bbc 100644 --- a/calendar/gui/e-meeting-time-sel.c +++ b/calendar/gui/e-meeting-time-sel.c @@ -852,6 +852,9 @@ e_meeting_time_selector_destroy (GtkObject *object) mts->model = NULL; } + mts->display_top = NULL; + mts->display_main = NULL; + if (GTK_OBJECT_CLASS (parent_class)->destroy) (*GTK_OBJECT_CLASS (parent_class)->destroy)(object); } |