Logistic Regression syntax generator: replace ds_data with ds_cstr
[pspp] / src / ui / gui / psppire-dialog-action-flip.c
index 2c265f3826afd6a0b62f097f9e514bb19d9b10a4..40749d660d6b037bd889f5a81ba5e78f14982476 100644 (file)
@@ -34,7 +34,7 @@ G_DEFINE_TYPE (PsppireDialogActionFlip, psppire_dialog_action_flip, PSPPIRE_TYPE
      FLIP /VARIABLES=var_list /NEWNAMES=var_name.
 */
 static char *
-generate_syntax (PsppireDialogAction *act)
+generate_syntax (const PsppireDialogAction *act)
 {
   const gchar *text;
   PsppireDialogActionFlip *rd = PSPPIRE_DIALOG_ACTION_FLIP (act);
@@ -90,16 +90,16 @@ refresh (PsppireDialogAction *rd_)
 }
 
 static void
-psppire_dialog_action_flip_activate (GtkAction *a)
+psppire_dialog_action_flip_activate (PsppireDialogAction *a)
 {
   PsppireDialogAction *pda = PSPPIRE_DIALOG_ACTION (a);
   PsppireDialogActionFlip *act = PSPPIRE_DIALOG_ACTION_FLIP (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)
     {
-      xml = builder_new ("psppire.ui");
+      xml = builder_new ("transpose.ui");
       g_hash_table_insert (thing, a, xml);
     }