summaryrefslogtreecommitdiff
path: root/examples/helloworld2
diff options
context:
space:
mode:
Diffstat (limited to 'examples/helloworld2')
-rw-r--r--examples/helloworld2/helloworld2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/helloworld2/helloworld2.c b/examples/helloworld2/helloworld2.c
index 4f6d692e94..6b945d66c0 100644
--- a/examples/helloworld2/helloworld2.c
+++ b/examples/helloworld2/helloworld2.c
@@ -6,13 +6,13 @@
/* Our new improved callback. The data passed to this function is printed
* to stdout. */
-void callback (GtkWidget *widget, gpointer *data)
+void callback (GtkWidget *widget, gpointer data)
{
g_print ("Hello again - %s was pressed\n", (char *) data);
}
/* another callback */
-void delete_event (GtkWidget *widget, GdkEvent *event, gpointer *data)
+void delete_event (GtkWidget *widget, GdkEvent *event, gpointer data)
{
gtk_main_quit ();
}