X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpage-formats.c;h=d1ac9b23b1b2208e2ecfcf7300013d03d87c7b00;hb=e339b2ca72d77a076566856e9357781d49cd983c;hp=5b06bcb3d4fac2ad1d1d9d1d23dddc637621efcc;hpb=0b0ca44889e637251cb5f2dbf3c7fdc4ec8b9bd7;p=pspp diff --git a/src/ui/gui/page-formats.c b/src/ui/gui/page-formats.c index 5b06bcb3d4..d1ac9b23b1 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. */ @@ -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;