From: John Darrington Date: Tue, 23 Jul 2013 19:47:38 +0000 (+0200) Subject: Fix crash when changing variable formats in data import dialog. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff45dfd3c600b46682cb34dbe37830813c310e24;p=pspp Fix crash when changing variable formats in data import dialog. Recent changes altered the CHANGE_VARIABLE signal handler signature, but this handler had not been updated. Reported-by: dr soumalya ray --- diff --git a/src/ui/gui/page-formats.c b/src/ui/gui/page-formats.c index 5b06bcb3d4..9e9d2adb9e 100644 --- a/src/ui/gui/page-formats.c +++ b/src/ui/gui/page-formats.c @@ -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. */ @@ -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;