summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/item_factory.c
diff options
context:
space:
mode:
authorSven Neumann <sven@gimp.org>2001-07-31 09:42:35 +0000
committerSven Neumann <neo@src.gnome.org>2001-07-31 09:42:35 +0000
commitbc5273de888bbe48c55b8d7613bacb3390a61cf0 (patch)
tree1e1916f35c45c42a27b3599c45dd8acd4f811dd4 /demos/gtk-demo/item_factory.c
parent3956c38a967dac7001e3b370474789c0776f9856 (diff)
downloadgdk-pixbuf-bc5273de888bbe48c55b8d7613bacb3390a61cf0.tar.gz
demos/gtk-demo/appwindow.c demos/gtk-demo/item_factory.c
2001-07-31 Sven Neumann <sven@gimp.org> * demos/gtk-demo/appwindow.c * demos/gtk-demo/item_factory.c * tests/testgtk.c: gtk_accel_group_attach() takes a GObject.
Diffstat (limited to 'demos/gtk-demo/item_factory.c')
-rw-r--r--demos/gtk-demo/item_factory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/item_factory.c b/demos/gtk-demo/item_factory.c
index dfd33eb75..5454a074d 100644
--- a/demos/gtk-demo/item_factory.c
+++ b/demos/gtk-demo/item_factory.c
@@ -72,7 +72,7 @@ do_item_factory (void)
"<main>",
item_factory,
(GtkDestroyNotify) gtk_object_unref);
- 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), "Item Factory");
gtk_container_set_border_width (GTK_CONTAINER (window), 0);
gtk_item_factory_create_items (item_factory, nmenu_items, menu_items, NULL);