summaryrefslogtreecommitdiff
path: root/examples/helloworld/helloworld.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/helloworld/helloworld.c')
-rw-r--r--examples/helloworld/helloworld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/helloworld/helloworld.c b/examples/helloworld/helloworld.c
index 606b55cc3..ad66be6e9 100644
--- a/examples/helloworld/helloworld.c
+++ b/examples/helloworld/helloworld.c
@@ -79,7 +79,7 @@ int main( int argc,
* signal could come from here, or the window manager. */
g_signal_connect_swapped (G_OBJECT (button), "clicked",
G_CALLBACK (gtk_widget_destroy),
- window);
+ G_OBJECT (window));
/* This packs the button into the window (a gtk container). */
gtk_container_add (GTK_CONTAINER (window), button);