psppire-var-sheet: Add icons to combo boxes for alignment and measurement.
[pspp] / src / ui / gui / page-formats.c
index 5b06bcb3d4fac2ad1d1d9d1d23dddc637621efcc..d1ac9b23b1b2208e2ecfcf7300013d03d87c7b00 100644 (file)
@@ -68,7 +68,10 @@ struct formats_page
 /* The "formats" page of the assistant. */
 
 static void on_variable_change (PsppireDict *dict, int idx,
+                               unsigned int what,
+                               const struct variable *oldvar,
                                 struct import_assistant *);
+
 static void clear_modified_vars (struct import_assistant *);
 
 /* Initializes IA's formats substructure. */
@@ -163,7 +166,7 @@ prepare_formats_page (struct import_assistant *ia)
   fmt_guesser_destroy (fg);
 
   psppire_dict = psppire_dict_new_from_dict (dict);
-  g_signal_connect (psppire_dict, "variable_changed",
+  g_signal_connect (psppire_dict, "variable-changed",
                     G_CALLBACK (on_variable_change), ia);
   ia->dict = dict;
   ia->formats->psppire_dict = psppire_dict;
@@ -231,6 +234,7 @@ reset_formats_page (struct import_assistant *ia)
    dictionary. */
 static void
 on_variable_change (PsppireDict *dict, int dict_idx,
+                   unsigned int what, const struct variable *oldvar,
                     struct import_assistant *ia)
 {
   struct formats_page *p = ia->formats;