mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 14:30:15 +00:00
color-swatch: don't hardcode list-add-symbolic as swatch icon
We have that as a property, we should use it.
This commit is contained in:
parent
83de34882b
commit
a9c2a586b1
@ -184,7 +184,7 @@ swatch_draw (GtkWidget *widget,
|
||||
|
||||
if (swatch->priv->icon)
|
||||
{
|
||||
icon_info = gtk_icon_theme_lookup_icon (theme, "list-add-symbolic", 16,
|
||||
icon_info = gtk_icon_theme_lookup_icon (theme, swatch->priv->icon, 16,
|
||||
GTK_ICON_LOOKUP_GENERIC_FALLBACK
|
||||
| GTK_ICON_LOOKUP_USE_BUILTIN);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user