gtkapplication: _get_app_menu can return NULL
authorTimm Bäder <mail@baedert.org>
Mon, 28 Mar 2016 16:18:20 +0000 (18:18 +0200)
committerTimm Bäder <mail@baedert.org>
Mon, 28 Mar 2016 16:18:20 +0000 (18:18 +0200)
gtk/gtkapplication.c

index a595e85d90563bc37927b69632abf6e9a5a30ab0..ace8b1576bf3cbfa6fcf0b4e4d0d3c25e0bcd202 100644 (file)
@@ -1402,7 +1402,8 @@ gtk_application_set_app_menu (GtkApplication *application,
  * Returns the menu model that has been set with
  * gtk_application_set_app_menu().
  *
- * Returns: (transfer none): the application menu of @application
+ * Returns: (transfer none) (nullable): the application menu of @application
+ *   or %NULL if no application menu has been set.
  *
  * Since: 3.4
  */