ToolItem: Fix nullable annotation put on wrong arg
authorDaniel Boles <dboles@src.gnome.org>
Wed, 20 Sep 2017 22:53:54 +0000 (23:53 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Wed, 20 Sep 2017 22:53:54 +0000 (23:53 +0100)
D’oh

gtk/gtktoolitem.c

index 2df614fb8efc1d617dd7faab88f5a846eb31c39c..cb226b893622baf011c1ae78712b04299c3b31de 100644 (file)
@@ -1349,9 +1349,9 @@ gtk_tool_item_rebuild_menu (GtkToolItem *tool_item)
 
 /**
  * gtk_tool_item_set_proxy_menu_item:
- * @tool_item: (nullable): a #GtkToolItem
+ * @tool_item: a #GtkToolItem
  * @menu_item_id: a string used to identify @menu_item
- * @menu_item: a #GtkMenuItem to be used in the overflow menu
+ * @menu_item: (nullable): a #GtkMenuItem to use in the overflow menu, or %NULL
  * 
  * Sets the #GtkMenuItem used in the toolbar overflow menu. The
  * @menu_item_id is used to identify the caller of this function and