diff options
author | Benjamin Otte <otte@redhat.com> | 2020-07-24 20:40:36 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2020-07-25 00:47:36 +0200 |
commit | d375dce9f52fd9830069a6fd9287abde93d3f24b (patch) | |
tree | cd759ec130e07189ab7f19ebd03b8e89923aaa7f /gtk/gtkscalebutton.c | |
parent | d7266b25ba5f2f21a5bd19d0fb88aca530e4d265 (diff) | |
download | gtk+-d375dce9f52fd9830069a6fd9287abde93d3f24b.tar.gz |
Replace "gchar" with "char"
Diffstat (limited to 'gtk/gtkscalebutton.c')
-rw-r--r-- | gtk/gtkscalebutton.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk/gtkscalebutton.c b/gtk/gtkscalebutton.c index 930b026406..1924f7e957 100644 --- a/gtk/gtkscalebutton.c +++ b/gtk/gtkscalebutton.c @@ -119,7 +119,7 @@ typedef struct GtkScrollType autoscroll_step; gboolean autoscrolling; - gchar **icon_list; + char **icon_list; GtkAdjustment *adjustment; /* needed because it must be settable in init() */ } GtkScaleButtonPrivate; @@ -469,7 +469,7 @@ gtk_scale_button_set_property (GObject *object, break; case PROP_ICONS: gtk_scale_button_set_icons (button, - (const gchar **)g_value_get_boxed (value)); + (const char **)g_value_get_boxed (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); @@ -550,7 +550,7 @@ GtkWidget * gtk_scale_button_new (gdouble min, gdouble max, gdouble step, - const gchar **icons) + const char **icons) { GtkScaleButton *button; GtkAdjustment *adjustment; @@ -615,15 +615,15 @@ gtk_scale_button_set_value (GtkScaleButton *button, */ void gtk_scale_button_set_icons (GtkScaleButton *button, - const gchar **icons) + const char **icons) { GtkScaleButtonPrivate *priv = gtk_scale_button_get_instance_private (button); - gchar **tmp; + char **tmp; g_return_if_fail (GTK_IS_SCALE_BUTTON (button)); tmp = priv->icon_list; - priv->icon_list = g_strdupv ((gchar **) icons); + priv->icon_list = g_strdupv ((char **) icons); g_strfreev (tmp); gtk_scale_button_update_icon (button); @@ -865,7 +865,7 @@ gtk_scale_button_update_icon (GtkScaleButton *button) GtkScaleButtonPrivate *priv = gtk_scale_button_get_instance_private (button); GtkAdjustment *adjustment; gdouble value; - const gchar *name; + const char *name; guint num_icons; if (!priv->icon_list || priv->icon_list[0][0] == '\0') |