summaryrefslogtreecommitdiff
path: root/examples/filesel
diff options
context:
space:
mode:
Diffstat (limited to 'examples/filesel')
-rw-r--r--examples/filesel/filesel.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/filesel/filesel.c b/examples/filesel/filesel.c
index 85527fb304..33eaef7a78 100644
--- a/examples/filesel/filesel.c
+++ b/examples/filesel/filesel.c
@@ -1,10 +1,9 @@
-#include <config.h>
#include <gtk/gtk.h>
/* Get the selected filename and print it to the console */
-void file_ok_sel( GtkWidget *w,
- GtkFileSelection *fs )
+static void file_ok_sel( GtkWidget *w,
+ GtkFileSelection *fs )
{
g_print ("%s\n", gtk_file_selection_get_filename (GTK_FILE_SELECTION (fs)));
}