[Webkit-unassigned] [Bug 137803] [GTK] Several labels are white instead of black
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 20 08:48:26 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=137803
--- Comment #5 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to comment #4)
> Comment on attachment 240126 [details]
> Patch
>
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=240126&action=review
>
> > Source/WebCore/ChangeLog:10
> > + Recent GTK+ versions require to explicitly set the state before
> > + getting a color.
> > +
>
> The changelog does not mention at all the change regarding
> gtk_style_context_get_background_color vs. gtk_style_context_get_color. It
> might be best to write a brief note about that here. What necessitated it?
There's actually no change, I mean, *BakcgroundColor functions called gtk_style_context_get_background color and the *ForegroundColor function called gtk_style_context_get_color. That hasn't changed, I added a enum paramater to call one or the other to avoid adding to functions.
> > Source/WebCore/rendering/RenderThemeGtk.cpp:1343
> > + // Recent GTK+ versions require to explicitly set the state before getting the color,
> > + gtk_style_context_set_state(context, state);
> > +
>
> Probably best to say what version introduced this change, if possible.
It's current git master, I can mention GTK+ 3.15.1 for example.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141020/118f944d/attachment-0002.html>
More information about the webkit-unassigned
mailing list