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

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Tue Dec 27 20:29:24 CET 2016


--- Comment #19 from Landry Breuil <landry at xfce.org> ---
According to
_unref() *should* do what it's supposed to. sigh. And it seems to be a widely
used construct, cf
https://mail.gnome.org/archives/commits-list/2014-November/msg04700.html for

gtk_style_context_add_provider() calls this code:
https://git.gnome.org/browse/gtk+/tree/gtk/gtkstylecascade.c?h=gtk-3-22#n352 -
which calls g_object_ref() on the provider, so g_object_unref() makes sense to
me here.

Granted, you have patches that fix the issue for you, but that's not the
correct way to fix the leak...... it's just a bandaid.

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

More information about the Goodies-dev mailing list