diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-01-03 19:26:36 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-01-03 19:26:36 +0000 |
commit | 44ec61dd97f1e159457b24458cf86ec39660efd7 (patch) | |
tree | 036b478f431462c22a8e0464d58854b2e86f4233 /examples/table | |
parent | 6803d93d38eb7f1cf09b89eeaf0cb414ab001d15 (diff) | |
download | gtk+-44ec61dd97f1e159457b24458cf86ec39660efd7.tar.gz |
Re-extract.
2005-01-03 Matthias Clasen <mclasen@redhat.com>
* examples/*: Re-extract.
* docs/tutorial/gtk-tut.sgml: Small corrections.
Diffstat (limited to 'examples/table')
-rw-r--r-- | examples/table/table.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/examples/table/table.c b/examples/table/table.c index a3159586a7..f616602957 100644 --- a/examples/table/table.c +++ b/examples/table/table.c @@ -1,19 +1,18 @@ -#include <config.h> #include <gtk/gtk.h> /* Our callback. * The data passed to this function is printed to stdout */ -void callback( GtkWidget *widget, - gpointer data ) +static void callback( GtkWidget *widget, + gpointer data ) { g_print ("Hello again - %s was pressed\n", (char *) data); } /* This callback quits the program */ -gint delete_event( GtkWidget *widget, - GdkEvent *event, - gpointer data ) +static gboolean delete_event( GtkWidget *widget, + GdkEvent *event, + gpointer data ) { gtk_main_quit (); return FALSE; |