X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fspreadsheet-test.c;h=dfdd95c0ae8e119a5127c1c11e22131a9fa1f264;hb=refs%2Fheads%2Fctables7;hp=995872f4370fab582744610bb47034b50401897a;hpb=96994a54e60e9c95b8bba54c2281acf7059b1203;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;