GNOME Bugzilla – Bug 654695
Memory corruption in gtk_theming_engine_register_property()
Last modified: 2011-07-15 21:26:58 UTC
As of commit d6c30e1766c975[0], GParamSpec uses interned strings for the name, which breaks the mess-with-param-spec's-internals-to-add-a-namespace hack in the mentioned function. The attached patch uses g_intern_string for the replacement as well, which should fix the issue. [0] http://git.gnome.org/browse/glib/commit?id=d6c30e1766c975
Created attachment 192053 [details] [review] theming-engine: Adjust register_property() to recent glib change GParamSpec now uses an intern'ed string for 'name', so the code in gtk_theming_engine_register_property() which prefixes the name with a namespace has to be adjusted.
Review of attachment 192053 [details] [review]: ugh, pretty bad hack. But if this patch makes it limp along, please commit.
Attachment 192053 [details] pushed as 7741f5a - theming-engine: Adjust register_property() to recent glib change