[gtk+/wip/aruiz/nullable-annotations] nullable annotations: gtk_menu_button_get_align_widget gtk_menu_button_get_menu_model gtk_menu



commit 7de7ddbfae583f4c2c8706fabbe21ededda70454
Author: Alberto Ruiz <aruiz gnome org>
Date:   Sat Dec 12 19:00:10 2015 +0000

    nullable annotations:
      gtk_menu_button_get_align_widget
      gtk_menu_button_get_menu_model
      gtk_menu_button_get_popover

 gtk/gtkmenubutton.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkmenubutton.c b/gtk/gtkmenubutton.c
index fad5cb6..e0d0c0e 100644
--- a/gtk/gtkmenubutton.c
+++ b/gtk/gtkmenubutton.c
@@ -897,7 +897,7 @@ gtk_menu_button_set_menu_model (GtkMenuButton *menu_button,
  *
  * Returns the #GMenuModel used to generate the popup.
  *
- * Returns: (transfer none): a #GMenuModel or %NULL
+ * Returns: (transfer none) (nullable): a #GMenuModel or %NULL
  *
  * Since: 3.6
  */
@@ -966,7 +966,7 @@ gtk_menu_button_set_align_widget (GtkMenuButton *menu_button,
  *
  * Returns the parent #GtkWidget to use to line up with menu.
  *
- * Returns: (transfer none): a #GtkWidget value or %NULL
+ * Returns: (transfer none) (nullable): a #GtkWidget value or %NULL
  *
  * Since: 3.6
  */
@@ -1212,7 +1212,7 @@ gtk_menu_button_set_popover (GtkMenuButton *menu_button,
  * If the button is not using a #GtkPopover, this function
  * returns %NULL.
  *
- * Returns: (transfer none): a #GtkPopover or %NULL
+ * Returns: (transfer none) (nullable): a #GtkPopover or %NULL
  *
  * Since: 3.12
  */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]