projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
work on docs
[pspp]
/
src
/
ui
/
gui
/
spreadsheet-test.c
diff --git
a/src/ui/gui/spreadsheet-test.c
b/src/ui/gui/spreadsheet-test.c
index b8ce870d4635a07917d882d9f479294d81be46df..dfdd95c0ae8e119a5127c1c11e22131a9fa1f264 100644
(file)
--- a/
src/ui/gui/spreadsheet-test.c
+++ b/
src/ui/gui/spreadsheet-test.c
@@
-103,7
+103,7
@@
print_msg (const struct msg *m, void *aux UNUSED)
int
int
-main (int argc, char *argv[]
)
+main (int argc, char *argv[])
{
GtkWidget *window;
GtkWidget *hbox;
{
GtkWidget *window;
GtkWidget *hbox;
@@
-119,10
+119,10
@@
main (int argc, char *argv[] )
gtk_init (&argc, &argv);
gtk_init (&argc, &argv);
- if (
argc < 2)
+ if (argc < 2)
g_error ("Usage: prog file\n");
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;
stuff.sp = NULL;