]> Pileus Git - ~andy/gtk/blobdiff - docs/refcounting.txt
stylecontext: Do invalidation on first resize container
[~andy/gtk] / docs / refcounting.txt
index 5ebf81850204a18bd5c8c6d3add41547a5dcc80b..806940096f1b20a54a021717980ed60d3c5607ac 100644 (file)
@@ -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'.
    */