diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-03-23 16:15:26 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-03-23 16:15:26 +0000 |
commit | 147e0512c54645eee5ea13370b67da4c2dc1682f (patch) | |
tree | 1222511aab899a7d8a001c65a7f9ed628a8c3574 /gtk/gtkscalebutton.c | |
parent | 6963d9e2ee3fc9fb1dee4ded62f332c8dd878f51 (diff) | |
download | gtk+-147e0512c54645eee5ea13370b67da4c2dc1682f.tar.gz |
Avoid more compiler warnings
Diffstat (limited to 'gtk/gtkscalebutton.c')
-rw-r--r-- | gtk/gtkscalebutton.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkscalebutton.c b/gtk/gtkscalebutton.c index 27d668ac5e..8423cd605e 100644 --- a/gtk/gtkscalebutton.c +++ b/gtk/gtkscalebutton.c @@ -985,7 +985,7 @@ gtk_scale_button_update_icon (GtkScaleButton *button) const gchar *name; guint num_icons; - if (!priv->icon_list || priv->icon_list[0] == '\0') + if (!priv->icon_list || ((char*)priv->icon_list)[0] == '\0') { gtk_image_set_from_icon_name (GTK_IMAGE (priv->image), "image-missing", |