diff options
Diffstat (limited to 'examples/rulers/rulers.c')
-rw-r--r-- | examples/rulers/rulers.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/examples/rulers/rulers.c b/examples/rulers/rulers.c index 9e53dd0cc6..ac5435c438 100644 --- a/examples/rulers/rulers.c +++ b/examples/rulers/rulers.c @@ -1,5 +1,4 @@ -#include <config.h> #include <gtk/gtk.h> #define EVENT_METHOD(i, x) GTK_WIDGET_GET_CLASS(i)->x @@ -8,9 +7,9 @@ #define YSIZE 400 /* This routine gets control when the close button is clicked */ -gint close_application( GtkWidget *widget, - GdkEvent *event, - gpointer data ) +static gboolean close_application( GtkWidget *widget, + GdkEvent *event, + gpointer data ) { gtk_main_quit (); return FALSE; |