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 758296 - GladeDesignLayout: Avoid GTK+ warnings
GladeDesignLayout: Avoid GTK+ warnings
Product: glade
Classification: Applications
Component: general
Other All
: Normal normal
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Reported: 2015-11-18 16:40 UTC by Matthias Clasen
Modified: 2015-11-26 03:23 UTC
See Also:
GNOME target: ---
GNOME version: ---

GladeDesignLayout: Avoid GTK+ warnings (2.00 KB, patch)
2015-11-18 16:41 UTC, Matthias Clasen
committed Details | Review

Description Matthias Clasen 2015-11-18 16:40:58 UTC
GTK+ warns nowadays if the state passed to gtk_style_context_get_*
does not match the state of the context. Avoid this by setting
the state beforehand. This is just a bandaid fix; the drawing
should be redone in terms of gtk_render_ APIs instead of poking
at colors.
Comment 1 Matthias Clasen 2015-11-18 16:41:07 UTC
Created attachment 315842 [details] [review]
GladeDesignLayout: Avoid GTK+ warnings
Comment 2 Tristan Van Berkom 2015-11-25 10:44:59 UTC
Review of attachment 315842 [details] [review]:

Great, and yes agreed we should migrate to gtk_render_ apis and use style properties as mentioned in Bug 758294
Comment 3 Matthias Clasen 2015-11-26 03:23:49 UTC
Attachment 315842 [details] pushed as b2c94a5 - GladeDesignLayout: Avoid GTK+ warnings