table-paste: Add error-checking assertion to table_paste().
[pspp] / src / ui / gui / psppire-dialog-action-examine.c
index c5c8bd85dd42e76c391888f60a3c62fbba23591f..a01d4536f8cbd96d57ebf7e193568af1bd32704c 100644 (file)
@@ -226,10 +226,6 @@ psppire_dialog_action_examine_activate (GtkAction *a)
   act->pairwise    = get_widget_assert (xml, "radiobutton2");
   act->report      = get_widget_assert (xml, "radiobutton3");
 
-  g_object_set (pda->source,
-               "model", pda->dict,
-               NULL);
-
   psppire_selector_set_allow (PSPPIRE_SELECTOR (dep_sel), numeric_only);
 
   psppire_dialog_action_set_valid_predicate (pda, (void *) dialog_state_valid);
@@ -242,6 +238,8 @@ psppire_dialog_action_examine_activate (GtkAction *a)
                            G_CALLBACK (run_opts_dialog), act);
 
   PSPPIRE_DIALOG_ACTION_CLASS (psppire_dialog_action_examine_parent_class)->activate (pda);
+  
+  g_object_unref (xml);
 }
 
 static void