From 0211ffba779bf034c186de494b140585a1bf9ad3 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sun, 8 Jul 2012 12:25:26 +0200 Subject: [PATCH] PsppireDataEditor: Add comment emphasising lack of final unref of old_vbox_widget --- src/ui/gui/psppire-data-editor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ui/gui/psppire-data-editor.c b/src/ui/gui/psppire-data-editor.c index f33a642599..c445f70748 100644 --- a/src/ui/gui/psppire-data-editor.c +++ b/src/ui/gui/psppire-data-editor.c @@ -819,6 +819,9 @@ psppire_data_editor_split_window (PsppireDataEditor *de, gboolean split) g_object_unref (de->old_vbox_widget); de->old_vbox_widget = de->datasheet_vbox_widget; g_object_ref (de->old_vbox_widget); + /* FIXME: old_vbox_widget needs to be unreffed in dispose. + (currently it seems to provoke an error if I do that. + I don't know why. */ gtk_container_remove (de->vbox, de->datasheet_vbox_widget); if (split) -- 2.30.2