gui: Remove unused dictionary parameter from missing_values_to_string().
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 23 Sep 2013 05:19:12 +0000 (22:19 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 23 Sep 2013 05:36:23 +0000 (22:36 -0700)
src/ui/gui/psppire-dialog-action-var-info.c
src/ui/gui/psppire-var-sheet.c
src/ui/gui/var-display.c
src/ui/gui/var-display.h

index 0c17222fa378b75f58a41512efa0792f23550a1d..e57df9a0ba5ac78d27ff4c12bf19230800905203 100644 (file)
@@ -119,7 +119,7 @@ populate_text (PsppireDictView *treeview, gpointer data)
     g_string_append_printf (gstring, _("Type: %s\n"), buffer);
   }
 
-  text = missing_values_to_string (dict, var, NULL);
+  text = missing_values_to_string (var, NULL);
   g_string_append_printf (gstring, _("Missing Values: %s\n"),
                          text);
   g_free (text);
index 02e880db365bf86c8cd3ad987d08e89d809fd503..5cd839651b9ccebcb8ba8a8cffca963a6163b64e 100644 (file)
@@ -457,7 +457,7 @@ render_var_cell (PsppSheetViewColumn *tree_column,
 
     case VS_MISSING:
       {
-        char *text = missing_values_to_string (var_sheet->dict, var, NULL);
+        char *text = missing_values_to_string (var, NULL);
         g_object_set (cell,
                       "text", text,
                       "editable", FALSE,
index db0020f4f426729160a6ab665e408b7da677239c..f779f4b1c15cca22d08b54e694506a6c373ccb99 100644 (file)
@@ -17,7 +17,7 @@ static const gchar none[] = N_("None");
 
 
 gchar *
-missing_values_to_string (const PsppireDict *dict, const struct variable *pv, GError **err)
+missing_values_to_string (const struct variable *pv, GError **err)
 {
   gchar *s;
   const struct missing_values *miss = var_get_missing_values (pv);
index a3592f62747b86cc0895e82eb4e5f66420aef995..f70e1facfb7d4c03e3292568bb0e09cc7e66974d 100644 (file)
@@ -26,6 +26,6 @@ struct variable;
 
 #define n_ALIGNMENTS 3
 
-gchar *missing_values_to_string (const PsppireDict *dict, const struct variable *pv, GError **err);
+gchar *missing_values_to_string (const struct variable *pv, GError **err);
 
 #endif