summaryrefslogtreecommitdiff
path: root/gtk/gtkexpander.c
diff options
context:
space:
mode:
authorDaniel Boles <dboles@src.gnome.org>2017-09-15 18:24:24 +0100
committerDaniel Boles <dboles@src.gnome.org>2017-09-15 18:25:19 +0100
commit009e388bb7adae7088b236dc5f71434c7eabf9fe (patch)
tree7ab62290d0d51c644439b62bfbdb58a108402ec2 /gtk/gtkexpander.c
parentb68892b5bee75ee5cd9e595f76f789f316644f67 (diff)
downloadgtk+-009e388bb7adae7088b236dc5f71434c7eabf9fe.tar.gz
Expander: get_label() return is nullable
Also, use gchar to match the header.
Diffstat (limited to 'gtk/gtkexpander.c')
-rw-r--r--gtk/gtkexpander.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkexpander.c b/gtk/gtkexpander.c
index 1eee8db992..37e2519dad 100644
--- a/gtk/gtkexpander.c
+++ b/gtk/gtkexpander.c
@@ -1425,12 +1425,12 @@ gtk_expander_set_label (GtkExpander *expander,
* be avoided by fetching the label text directly from the label
* widget.
*
- * Returns: The text of the label widget. This string is owned
+ * Returns: (nullable): The text of the label widget. This string is owned
* by the widget and must not be modified or freed.
*
* Since: 2.4
*/
-const char *
+const gchar *
gtk_expander_get_label (GtkExpander *expander)
{
GtkExpanderPrivate *priv;