[gtk+/wip/aruiz/nullable-annotations] nullable annotations: gtk_tool_button_get_icon_name gtk_tool_button_get_icon_widget gtk_tool_b



commit 801d8a8a89925ba60f54f978bdb17d47fa3523e5
Author: Alberto Ruiz <aruiz gnome org>
Date:   Sun Dec 13 03:42:56 2015 +0000

    nullable annotations:
      gtk_tool_button_get_icon_name
      gtk_tool_button_get_icon_widget
      gtk_tool_button_get_label
      gtk_tool_button_get_label_widget

 gtk/gtktoolbutton.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtktoolbutton.c b/gtk/gtktoolbutton.c
index 8ccf3cf..bc1b86b 100644
--- a/gtk/gtktoolbutton.c
+++ b/gtk/gtktoolbutton.c
@@ -1211,7 +1211,7 @@ gtk_tool_button_set_label (GtkToolButton *button,
  * doesn’t have a label. or uses a the label from a stock item. The returned
  * string is owned by GTK+, and must not be modified or freed.
  * 
- * Returns: The label, or %NULL
+ * Returns: (nullable): The label, or %NULL
  * 
  * Since: 2.4
  **/
@@ -1366,7 +1366,7 @@ gtk_tool_button_set_icon_name (GtkToolButton *button,
  * Returns the name of the themed icon for the tool button,
  * see gtk_tool_button_set_icon_name().
  *
- * Returns: the icon name or %NULL if the tool button has
+ * Returns: (nullable): the icon name or %NULL if the tool button has
  * no themed icon
  *
  * Since: 2.8
@@ -1472,7 +1472,7 @@ gtk_tool_button_set_label_widget (GtkToolButton *button,
  * Returns the widget used as label on @button.
  * See gtk_tool_button_set_label_widget().
  *
- * Returns: (transfer none): The widget used as label
+ * Returns: (nullable) (transfer none): The widget used as label
  *     on @button, or %NULL.
  *
  * Since: 2.4
@@ -1492,7 +1492,7 @@ gtk_tool_button_get_label_widget (GtkToolButton *button)
  * Return the widget used as icon widget on @button.
  * See gtk_tool_button_set_icon_widget().
  *
- * Returns: (transfer none): The widget used as icon
+ * Returns: (nullable) (transfer none): The widget used as icon
  *     on @button, or %NULL.
  *
  * Since: 2.4


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