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 761178 - gtk-champlain-embed: avoid runtime warnings
gtk-champlain-embed: avoid runtime warnings
Status: RESOLVED FIXED
Product: libchamplain
Classification: Core
Component: gtk-embed
unspecified
Other All
: Normal normal
: ---
Assigned To: libchamplain-maint
libchamplain-maint
Depends on:
Blocks:
 
 
Reported: 2016-01-27 14:01 UTC by Cosimo Cecchi
Modified: 2016-02-01 08:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gtk-champlain-embed: avoid runtime warnings (1.98 KB, patch)
2016-01-27 14:01 UTC, Cosimo Cecchi
none Details | Review

Description Cosimo Cecchi 2016-01-27 14:01:37 UTC
See attached patch
Comment 1 Cosimo Cecchi 2016-01-27 14:01:41 UTC
Created attachment 319834 [details] [review]
gtk-champlain-embed: avoid runtime warnings

We need to set the state on the GtkStyleContext these days, to avoid GTK
emitting runtime warnings.
This change is retro-compatible with older versions of GTK.
Comment 2 Jiri Techet 2016-02-01 08:55:27 UTC
Looks good, thanks!