From: John Darrington Date: Sun, 8 Jul 2012 10:25:26 +0000 (+0200) Subject: PsppireDataEditor: Add comment emphasising lack of final unref of old_vbox_widget X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0211ffba779bf034c186de494b140585a1bf9ad3;p=pspp PsppireDataEditor: Add comment emphasising lack of final unref of old_vbox_widget --- 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)