After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 643490 - gtk-style-context-add-provider () documentation needs more documentation
gtk-style-context-add-provider () documentation needs more documentation
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Documentation
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2011-02-28 14:09 UTC by Patricia Santana Cruz
Modified: 2012-05-26 16:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Patricia Santana Cruz 2011-02-28 14:09:16 UTC
The current documentation does not specify if this function affects to the children and the parent or just to the parent where it is used. Currently, this just affects to the parent, so one needs to use gtk_style_context_add_provider_for_screen () and specify the children in the .css file in order to make it work for those children. I spoke to Carlos Garnacho (garnacho) and he informed me that he wants to change this behaviour for the next version, but anyway, it should be documented because it can be very misleading.

Current documentation:
http://library.gnome.org/devel/gtk/unstable/GtkStyleContext.html#gtk-style-context-add-provider