mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 12:41:07 +00:00
Expander: get_label() return is nullable
Also, use gchar to match the header.
This commit is contained in:
parent
67d9cefb72
commit
7161b57063
@ -1120,12 +1120,12 @@ gtk_expander_set_label (GtkExpander *expander,
|
|||||||
* be avoided by fetching the label text directly from the label
|
* be avoided by fetching the label text directly from the label
|
||||||
* widget.
|
* 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.
|
* by the widget and must not be modified or freed.
|
||||||
*
|
*
|
||||||
* Since: 2.4
|
* Since: 2.4
|
||||||
*/
|
*/
|
||||||
const char *
|
const gchar *
|
||||||
gtk_expander_get_label (GtkExpander *expander)
|
gtk_expander_get_label (GtkExpander *expander)
|
||||||
{
|
{
|
||||||
GtkExpanderPrivate *priv;
|
GtkExpanderPrivate *priv;
|
||||||
|
Loading…
Reference in New Issue
Block a user