diff options
Diffstat (limited to 'examples/scribble-xinput/scribble-xinput.c')
-rw-r--r-- | examples/scribble-xinput/scribble-xinput.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/examples/scribble-xinput/scribble-xinput.c b/examples/scribble-xinput/scribble-xinput.c index 2a2909b103..ed1b3d715d 100644 --- a/examples/scribble-xinput/scribble-xinput.c +++ b/examples/scribble-xinput/scribble-xinput.c @@ -176,12 +176,6 @@ create_input_dialog () } } -void -quit () -{ - exit (0); -} - int main (int argc, char *argv[]) { @@ -201,7 +195,7 @@ main (int argc, char *argv[]) gtk_widget_show (vbox); g_signal_connect (G_OBJECT (window), "destroy", - G_CALLBACK (quit), NULL); + G_CALLBACK (gtk_main_quit), NULL); /* Create the drawing area */ |