summaryrefslogtreecommitdiff
path: root/docs/refcounting.txt
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2009-11-24 17:33:48 +0100
committerJavier Jardón <jjardon@gnome.org>2010-05-03 01:51:20 +0200
commit6281645cbb5ba776270c9c510f96d15fd4f80342 (patch)
tree9787f04cbd97e74764df4a25c77e357f59c8bd15 /docs/refcounting.txt
parent74e68444883c15cb19c1338a2052172fb9f15d0a (diff)
downloadgtk+-6281645cbb5ba776270c9c510f96d15fd4f80342.tar.gz
Remove deprecated GtkMenu stuff.
Also, substitute the deprecated functions with the new ones in documentation.
Diffstat (limited to 'docs/refcounting.txt')
-rw-r--r--docs/refcounting.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/refcounting.txt b/docs/refcounting.txt
index 5ebf818502..806940096f 100644
--- a/docs/refcounting.txt
+++ b/docs/refcounting.txt
@@ -197,7 +197,7 @@ GtkOptionMenu looks like this:
/* menu_item->ref_count == 1 and it is flagged as `floating'.
*/
- gtk_menu_append (GTK_MENU (menu), menu_item);
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), menu_item);
/* menu_item->ref_count still == 1, but it is no longer `floating'.
*/