X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fspreadsheet-test.c;h=dfdd95c0ae8e119a5127c1c11e22131a9fa1f264;hb=510cc9dd9baf3108ba55cfb7893384517c9930b4;hp=995872f4370fab582744610bb47034b50401897a;hpb=0fde6afee3c995bf264c24c438f43eeb58b859b5;p=pspp diff --git a/src/ui/gui/spreadsheet-test.c b/src/ui/gui/spreadsheet-test.c index 995872f437..dfdd95c0ae 100644 --- a/src/ui/gui/spreadsheet-test.c +++ b/src/ui/gui/spreadsheet-test.c @@ -122,7 +122,7 @@ main (int argc, char *argv[]) if (argc < 2) g_error ("Usage: prog file\n"); - msg_set_handler (print_msg, 0); + msg_set_handler (&(struct msg_handler) { .output_msg = print_msg }); stuff.sp = NULL;