X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-var-sheet.c;h=d62a97e1fd1fa08866827dc05ae3d83b729e42bd;hb=refs%2Fbuilds%2F20130924032641%2Fpspp;hp=970da7dfbcb491c81ce21e3f0ee5a3cb38c51189;hpb=19cf39ef8802208ca67fc3e1cf12ce4b239aaabf;p=pspp diff --git a/src/ui/gui/psppire-var-sheet.c b/src/ui/gui/psppire-var-sheet.c index 970da7dfbc..d62a97e1fd 100644 --- a/src/ui/gui/psppire-var-sheet.c +++ b/src/ui/gui/psppire-var-sheet.c @@ -453,8 +453,8 @@ on_type_click (PsppireCellRendererButton *cell, format = *var_get_print_format (var); psppire_var_type_dialog_run (GTK_WINDOW (toplevel), &format); - var_set_width (var, fmt_var_width (&format)); - var_set_both_formats (var, &format); + + var_set_width_and_formats (var, fmt_var_width (&format), &format, &format); } static void @@ -1288,7 +1288,9 @@ refresh_model (PsppireVarSheet *var_sheet) } static void -on_var_changed (PsppireDict *dict, glong row, PsppireVarSheet *var_sheet) +on_var_changed (PsppireDict *dict, glong row, + guint what, const struct variable *oldvar, + PsppireVarSheet *var_sheet) { PsppireEmptyListStore *store;