mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 16:50:11 +00:00
Make symbolic icons work again
Work around https://bugzilla.gnome.org/show_bug.cgi?id=639750
This commit is contained in:
parent
77ff699226
commit
9f895aa3ad
@ -3071,11 +3071,11 @@ gdk_color_to_css (GdkColor *color)
|
||||
static gchar *
|
||||
gdk_rgba_to_css (GdkRGBA *color)
|
||||
{
|
||||
return g_strdup_printf ("rgba(%d,%d,%d,%f)",
|
||||
/* drop a for now, since librsvg does not understand rgba() */
|
||||
return g_strdup_printf ("rgb(%d,%d,%d)",
|
||||
(gint)(color->red * 255),
|
||||
(gint)(color->green * 255),
|
||||
(gint)(color->blue * 255),
|
||||
color->alpha);
|
||||
(gint)(color->blue * 255));
|
||||
}
|
||||
|
||||
static GdkPixbuf *
|
||||
|
Loading…
Reference in New Issue
Block a user