summaryrefslogtreecommitdiff
path: root/gtk/gtkexpander.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkexpander.c')
-rw-r--r--gtk/gtkexpander.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkexpander.c b/gtk/gtkexpander.c
index b20ea03ce8..b50f0a477d 100644
--- a/gtk/gtkexpander.c
+++ b/gtk/gtkexpander.c
@@ -197,7 +197,7 @@ static void gtk_expander_buildable_init (GtkBuildableIface *iface);
static void gtk_expander_buildable_add_child (GtkBuildable *buildable,
GtkBuilder *builder,
GObject *child,
- const gchar *type);
+ const char *type);
/* GtkWidget */
@@ -431,7 +431,7 @@ static void
gtk_expander_buildable_add_child (GtkBuildable *buildable,
GtkBuilder *builder,
GObject *child,
- const gchar *type)
+ const char *type)
{
if (g_strcmp0 (type, "label") == 0)
gtk_expander_set_label_widget (GTK_EXPANDER (buildable), GTK_WIDGET (child));
@@ -806,7 +806,7 @@ gtk_expander_measure (GtkWidget *widget,
* Returns: a new #GtkExpander widget.
*/
GtkWidget *
-gtk_expander_new (const gchar *label)
+gtk_expander_new (const char *label)
{
return g_object_new (GTK_TYPE_EXPANDER, "label", label, NULL);
}
@@ -826,7 +826,7 @@ gtk_expander_new (const gchar *label)
* Returns: a new #GtkExpander widget.
*/
GtkWidget *
-gtk_expander_new_with_mnemonic (const gchar *label)
+gtk_expander_new_with_mnemonic (const char *label)
{
return g_object_new (GTK_TYPE_EXPANDER,
"label", label,
@@ -921,7 +921,7 @@ gtk_expander_get_expanded (GtkExpander *expander)
*/
void
gtk_expander_set_label (GtkExpander *expander,
- const gchar *label)
+ const char *label)
{
g_return_if_fail (GTK_IS_EXPANDER (expander));
@@ -970,7 +970,7 @@ gtk_expander_set_label (GtkExpander *expander,
* Returns: (nullable): The text of the label widget. This string is owned
* by the widget and must not be modified or freed.
*/
-const gchar *
+const char *
gtk_expander_get_label (GtkExpander *expander)
{
g_return_val_if_fail (GTK_IS_EXPANDER (expander), NULL);