Commit 8db97768 authored by Timm Bäder's avatar Timm Bäder 👎 Committed by Daniel Boles

scalebutton: Fix comparison for empty icon list

https://bugzilla.gnome.org/show_bug.cgi?id=786220
parent 91064360
......@@ -985,7 +985,7 @@ gtk_scale_button_update_icon (GtkScaleButton *button)
const gchar *name;
guint num_icons;
if (!priv->icon_list || ((char*)priv->icon_list)[0] == '\0')
if (!priv->icon_list || priv->icon_list[0][0] == '\0')
{
gtk_image_set_from_icon_name (GTK_IMAGE (priv->image),
"image-missing",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment