diff options
Diffstat (limited to 'example/hellogtk.c')
-rw-r--r-- | example/hellogtk.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/example/hellogtk.c b/example/hellogtk.c index 9d38a18..9d0903e 100644 --- a/example/hellogtk.c +++ b/example/hellogtk.c @@ -4,23 +4,27 @@ #include "hello.h" -static void hello(GtkWidget *widget, gpointer data) +static void +hello(GtkWidget *widget, gpointer data) { printf("Hello World\n"); } -static gboolean delete_event(GtkWidget *widget, GdkEvent *event, gpointer data) +static gboolean +delete_event(GtkWidget *widget, GdkEvent *event, gpointer data) { return FALSE; } /* Another callback */ -static void destroy(GtkWidget *widget, gpointer data) +static void +destroy(GtkWidget *widget, gpointer data) { gtk_main_quit(); } -void hello_showgtk(int argc, char *argv[]) +void +hello_showgtk(int argc, char *argv[]) { GtkWidget *window; GtkWidget *button; |