summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/paint.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/gtk-demo/paint.c')
-rw-r--r--demos/gtk-demo/paint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/gtk-demo/paint.c b/demos/gtk-demo/paint.c
index 8717330276..d3e6c59cf1 100644
--- a/demos/gtk-demo/paint.c
+++ b/demos/gtk-demo/paint.c
@@ -38,7 +38,7 @@ static GtkPadActionEntry pad_actions[] = {
{ GTK_PAD_ACTION_STRIP, -1, -1, N_("Brush size"), "pad.brush_size" },
};
-static const gchar *pad_colors[] = {
+static const char *pad_colors[] = {
"black",
"pink",
"green",
@@ -154,7 +154,7 @@ on_pad_button_activate (GSimpleAction *action,
GVariant *parameter,
DrawingArea *area)
{
- const gchar *color = g_object_get_data (G_OBJECT (action), "color");
+ const char *color = g_object_get_data (G_OBJECT (action), "color");
GdkRGBA rgba;
gdk_rgba_parse (&rgba, color);