[Goodies-dev] [Bug 12975] High CPU usage

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Tue Dec 27 20:54:00 CET 2016


https://bugzilla.xfce.org/show_bug.cgi?id=12975

--- Comment #21 from revel at muub.net ---
Aren't you missing the point here? Calling _unref() is ok and justified, but
another ref is still held by gtkstylecascade, which is ok as well. The point
is, that gtk_style_context_add_provider does not remove any previously added
providers. The call at
https://git.gnome.org/browse/gtk+/tree/gtk/gtkstylecascade.c#n370 is clearly to
prevent adding the same provider more than once, nothing more. So the internal
array cascade->providers keeps growing since more and more providers are added
with each periodic invocation of update_apm_status in the plugin.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the Goodies-dev mailing list