Remove unncessary property assignments
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 5 Oct 2013 10:15:39 +0000 (12:15 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 6 Oct 2013 14:32:44 +0000 (16:32 +0200)
src/ui/gui/psppire-dialog-action-descriptives.c
src/ui/gui/psppire-dialog-action-examine.c
src/ui/gui/psppire-dialog-action-means.c

index 451091726692705a30759bd6d6eae815c347f599..1b5b7a5781618738fece2f1f3beb9f7a8ba5b562 100644 (file)
@@ -206,7 +206,7 @@ psppire_dialog_action_descriptives_activate (GtkAction *a)
   pda->source = get_widget_assert   (xml, "all-variables");
   act->variables =   get_widget_assert   (xml, "stat-variables");
 
-  g_object_set (pda->source, "model", pda->dict,
+  g_object_set (pda->source,
        "predicate", var_is_numeric, NULL);
 
   psppire_checkbox_treeview_populate (PSPPIRE_CHECKBOX_TREEVIEW (stats_treeview),
index 7698adfe6be32d50bdbc6cc3864098a431bff579..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);
index 1ec9fccffb51e20cef5c28a53e1e2f4e0ba24771..64d0f32876502f342b6ff10c43f23993dbf32641 100644 (file)
@@ -110,7 +110,6 @@ psppire_dialog_action_means_activate (GtkAction *a)
   act->variables = get_widget_assert   (xml, "stat-variables");
 
   g_object_set (pda->source,
-               "model", pda->dict,
                "predicate", var_is_numeric,
                NULL);