mirror of
https://github.com/brl/mutter.git
synced 2025-03-27 21:53:47 +00:00

In order to pick up colors from a GtkStyleContext, a temporary GtkStyle object was created from the context and destroyed after copying the requested GdkColor. This is slightly inefficient, so get the appropriate GdkRGBA from the context and translate it to a GdkColor, based on the compatibility code in gtkstyle.c. https://bugzilla.gnome.org/show_bug.cgi?id=645355