[gtk+/wip/aruiz/nullable-annotations] nullable annotations: gtk_header_bar_get_custom_title gtk_header_bar_get_subtitle gtk_header_b



commit cbe627cd024457c15a4407bf40354b755e9a00eb
Author: Alberto Ruiz <aruiz gnome org>
Date:   Sat Dec 12 18:51:16 2015 +0000

    nullable annotations:
      gtk_header_bar_get_custom_title
      gtk_header_bar_get_subtitle
      gtk_header_bar_get_title

 gtk/gtkheaderbar.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkheaderbar.c b/gtk/gtkheaderbar.c
index dcb8e8a..4a38f8d 100644
--- a/gtk/gtkheaderbar.c
+++ b/gtk/gtkheaderbar.c
@@ -1210,7 +1210,7 @@ gtk_header_bar_set_title (GtkHeaderBar *bar,
  *
  * Retrieves the title of the header. See gtk_header_bar_set_title().
  *
- * Returns: the title of the header, or %NULL if none has
+ * Returns: (nullable): the title of the header, or %NULL if none has
  *    been set explicitly. The returned string is owned by the widget
  *    and must not be modified or freed.
  *
@@ -1271,7 +1271,7 @@ gtk_header_bar_set_subtitle (GtkHeaderBar *bar,
  *
  * Retrieves the subtitle of the header. See gtk_header_bar_set_subtitle().
  *
- * Returns: the subtitle of the header, or %NULL if none has
+ * Returns: (nullable): the subtitle of the header, or %NULL if none has
  *    been set explicitly. The returned string is owned by the widget
  *    and must not be modified or freed.
  *
@@ -1364,7 +1364,7 @@ gtk_header_bar_set_custom_title (GtkHeaderBar *bar,
  * Retrieves the custom title widget of the header. See
  * gtk_header_bar_set_custom_title().
  *
- * Returns: (transfer none): the custom title widget
+ * Returns: (transfer none) (nullable): the custom title widget
  *    of the header, or %NULL if none has been set explicitly.
  *
  * Since: 3.10


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