diff options
Diffstat (limited to 'examples/fixed/fixed.c')
-rw-r--r-- | examples/fixed/fixed.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/fixed/fixed.c b/examples/fixed/fixed.c index 42886ba764..393040b308 100644 --- a/examples/fixed/fixed.c +++ b/examples/fixed/fixed.c @@ -1,5 +1,4 @@ -#include <config.h> #include <gtk/gtk.h> /* I'm going to be lazy and use some global variables to @@ -10,8 +9,8 @@ gint y = 50; /* This callback function moves the button to a new position * in the Fixed container. */ -void move_button( GtkWidget *widget, - GtkWidget *fixed ) +static void move_button( GtkWidget *widget, + GtkWidget *fixed ) { x = (x + 30) % 300; y = (y + 50) % 300; |