PsppireDialogAction (generate_syntax): Change signature.
[pspp] / src / ui / gui / psppire-dialog-action-two-sample.c
index c570993b843ca52368f8b0e2ca84f07ddfdab935..39c88b1d11488ca60f8d86d4e8b505fb961a2368 100644 (file)
@@ -134,7 +134,7 @@ select_as_pair_member (GtkTreeIter source_iter,
 
 
 static gchar *
-generate_syntax (PsppireDialogAction *pda)
+generate_syntax (const PsppireDialogAction *pda)
 {
   gint i;
 
@@ -169,12 +169,12 @@ generate_syntax (PsppireDialogAction *pda)
 }
 
 static void
-psppire_dialog_action_two_sample_activate (GtkAction *a)
+psppire_dialog_action_two_sample_activate (PsppireDialogAction *a)
 {
   PsppireDialogAction *pda = PSPPIRE_DIALOG_ACTION (a);
   PsppireDialogActionTwoSample *act = PSPPIRE_DIALOG_ACTION_TWO_SAMPLE (a);
 
-  GHashTable *thing = psppire_dialog_action_get_pointer (pda);
+  GHashTable *thing = psppire_dialog_action_get_hash_table (pda);
   GtkBuilder *xml = g_hash_table_lookup (thing, a);
   if (!xml)
     {
@@ -185,7 +185,7 @@ psppire_dialog_action_two_sample_activate (GtkAction *a)
       /* NPAR Specific options */
       GtkWidget *frame = gtk_frame_new (_("Test Type"));
       GtkWidget *bb = gtk_button_box_new (GTK_ORIENTATION_VERTICAL);
-      GtkWidget *box = get_widget_assert (xml, "vbox3");
+      GtkWidget *box = get_widget_assert (xml, "dynamic-populate");
 
 
       strcpy (act->nts[NT_WILCOXON].syntax, "/WILCOXON");