summaryrefslogtreecommitdiff
path: root/examples/packbox/packbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/packbox/packbox.c')
-rw-r--r--examples/packbox/packbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/packbox/packbox.c b/examples/packbox/packbox.c
index fe411625d..ae5d9e3be 100644
--- a/examples/packbox/packbox.c
+++ b/examples/packbox/packbox.c
@@ -261,7 +261,7 @@ int main( int argc,
/* Setup the signal to terminate the program when the button is clicked */
g_signal_connect_swapped (G_OBJECT (button), "clicked",
G_CALLBACK (gtk_main_quit),
- window);
+ G_OBJECT (window));
/* Pack the button into the quitbox.
* The last 3 arguments to gtk_box_pack_start are:
* expand, fill, padding. */