GNOME Bugzilla – Bug 758299
signal editor: Avoid GTK+ warnings
Last modified: 2015-11-26 03:24:41 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.
Created attachment 315845 [details] [review] signal editor: Avoid GTK+ warnings
Review of attachment 315845 [details] [review]: Thanks for sorting this out. It looks like you are missing a call to gtk_style_context_restore() in one of the three blocks you updated: if (dummy || !glade_signal_get_detail (signal)) { ... added _save() missing _restore() } Please verify that that is correct and commit the result.
Thanks for catching that, fixed. Attachment 315845 [details] pushed as 3604a2a - signal editor: Avoid GTK+ warnings