summaryrefslogtreecommitdiff
path: root/examples/wheelbarrow/wheelbarrow.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wheelbarrow/wheelbarrow.c')
-rw-r--r--examples/wheelbarrow/wheelbarrow.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/examples/wheelbarrow/wheelbarrow.c b/examples/wheelbarrow/wheelbarrow.c
index d129ca6827..5d1df1d155 100644
--- a/examples/wheelbarrow/wheelbarrow.c
+++ b/examples/wheelbarrow/wheelbarrow.c
@@ -120,11 +120,16 @@ static char * WheelbarrowFull_xpm[] = {
/* When invoked (via signal delete_event), terminates the application */
-void close_application( GtkWidget *widget, GdkEvent *event, gpointer data ) {
+gint close_application( GtkWidget *widget,
+ GdkEvent *event,
+ gpointer data )
+{
gtk_main_quit();
+ return(FALSE);
}
-int main (int argc, char *argv[])
+int main (int argc,
+ char *argv[] )
{
/* GtkWidget is the storage type for widgets */
GtkWidget *window, *pixmap, *fixed;