menutoolbutton: Add missing public API documentation.
authorRobert Ancell <robert.ancell@canonical.com>
Sun, 12 Jan 2020 23:17:55 +0000 (12:17 +1300)
committerRobert Ancell <robert.ancell@canonical.com>
Sun, 12 Jan 2020 23:17:55 +0000 (12:17 +1300)
This API was added in 03e30431a8a

gtk/gtkmenutoolbutton.c

index d49e036734fb1f407cfd73bd245d9e75e114ec79..0a9e0e7c676d4f1a8af140ac7865a484b6ffaed0 100644 (file)
@@ -377,6 +377,16 @@ gtk_menu_tool_button_set_popover (GtkMenuToolButton *button,
   g_object_notify (G_OBJECT (button), "popover");
 }
 
+/**
+ * gtk_menu_tool_button_get_popover:
+ * @menu_button: a #GtkMenuToolButton
+ *
+ * Returns the #GtkPopover that pops out of the button.
+ * If the button is not using a #GtkPopover, this function
+ * returns %NULL.
+ *
+ * Returns: (nullable) (transfer none): a #GtkPopover or %NULL
+ **/
 GtkWidget *
 gtk_menu_tool_button_get_popover (GtkMenuToolButton *button)
 {