summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
Diffstat (limited to 'demos')
-rw-r--r--demos/gtk-demo/menus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/menus.c b/demos/gtk-demo/menus.c
index cdc07e222f..8411eabbe1 100644
--- a/demos/gtk-demo/menus.c
+++ b/demos/gtk-demo/menus.c
@@ -100,7 +100,7 @@ do_menus (void)
NULL);
accel_group = gtk_accel_group_new ();
- gtk_accel_group_attach (accel_group, GTK_OBJECT (window));
+ gtk_accel_group_attach (accel_group, G_OBJECT (window));
gtk_window_set_title (GTK_WINDOW (window), "menus");
gtk_container_set_border_width (GTK_CONTAINER (window), 0);