PsppireDataEditor: Add comment emphasising lack of final unref of old_vbox_widget
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 8 Jul 2012 10:25:26 +0000 (12:25 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 8 Jul 2012 10:25:26 +0000 (12:25 +0200)
src/ui/gui/psppire-data-editor.c

index f33a6425992093e5f5febaf04bf47c8b52d0d754..c445f7074899044fad14ef1b7a401d60dee5ca95 100644 (file)
@@ -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)