GNOME Bugzilla – Bug 648989
GtkWidget:link-color and GdkWidget:visited-link-color needs RGBA versions
Last modified: 2014-03-19 18:06:11 UTC
I guess that it should have *-rgba versions too, as has been done for other properties
Looking at what we've done for cursor-color and secondary-cursor-color, the style properties haven't actually changed type, but internally, GtkStyleContext and GtkModifierStyle treat these as GdkRGBA. We should do the same thing for link-color and visited-link-color
Do you mean that internally it should not use GdkColor beyond the getter/setter? If we don't add a -rgba option we don't really give an alternative for people using this property wanting to get rid of the deprecation warnings so I'm assuming you want to add that as well?
Created attachment 189341 [details] [review] gtklinkbutton: Use GdkRGBA instead GdkColor internally
link styling is done with state flags now.
For reference, obsoleted with the patches of https://bugzilla.gnome.org/show_bug.cgi?id=709629