- Copyright (C) 2005, 2006, 2009, 2011 Free Software Foundation
+ Copyright (C) 2005, 2006, 2009, 2011, 2012 Free Software Foundation
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
gint i;
g_return_if_fail (dialog);
g_return_if_fail (dialog->pv);
mv_copy (&dialog->mvl, var_get_missing_values (dialog->pv));
gint i;
g_return_if_fail (dialog);
g_return_if_fail (dialog->pv);
mv_copy (&dialog->mvl, var_get_missing_values (dialog->pv));
/* Blank all entry boxes and make them insensitive */
gtk_entry_set_text (GTK_ENTRY (dialog->low), "");
gtk_entry_set_text (GTK_ENTRY (dialog->high), "");
/* Blank all entry boxes and make them insensitive */
gtk_entry_set_text (GTK_ENTRY (dialog->low), "");
gtk_entry_set_text (GTK_ENTRY (dialog->high), "");
- low_text = value_to_text (low, dialog->dict, *format);
- high_text = value_to_text (high, dialog->dict, *format);
+ low_text = value_to_text (low, dialog->pv);
+ high_text = value_to_text (high, dialog->pv);
gtk_entry_set_text (GTK_ENTRY (dialog->low), low_text);
gtk_entry_set_text (GTK_ENTRY (dialog->high), high_text);
gtk_entry_set_text (GTK_ENTRY (dialog->low), low_text);
gtk_entry_set_text (GTK_ENTRY (dialog->high), high_text);
- text = value_to_text (*mv_get_value (&dialog->mvl, 0), dialog->dict, *format);
+ text = value_to_text (*mv_get_value (&dialog->mvl, 0), dialog->pv);
- text = value_to_text (*mv_get_value (&dialog->mvl, i), dialog->dict,
- *format);
+ text = value_to_text (*mv_get_value (&dialog->mvl, i), dialog->pv);