projects
/
gtk+3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b68892b
)
Expander: get_label() return is nullable
author
Daniel Boles
<dboles@src.gnome.org>
Fri, 15 Sep 2017 17:24:24 +0000
(18:24 +0100)
committer
Daniel Boles
<dboles@src.gnome.org>
Fri, 15 Sep 2017 17:25:19 +0000
(18:25 +0100)
Also, use gchar to match the header.
gtk/gtkexpander.c
patch
|
blob
|
history
diff --git
a/gtk/gtkexpander.c
b/gtk/gtkexpander.c
index 1eee8db99216bc423db924bdbaf37fbd7f63c8fa..37e2519dada4afb7cc4efb1ab02da767b4c7926a 100644
(file)
--- 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
g
char *
gtk_expander_get_label (GtkExpander *expander)
{
GtkExpanderPrivate *priv;