For app developers waiting for a fix, the following hot-patch seems to work. Testing for a range of version numbers before patching might be a good idea.
require 'libglade2'
class GladeXML
alias :connect_without_source_guard :connect
def connect(source, target, signal, handler, data, after = false)
guard_source_from_gc(source)
connect_without_source_guard(source, target, signal, handler, data, after)
end
end
For app developers waiting for a fix, the following hot-patch seems to work. Testing for a range of version numbers before patching might be a good idea.
require 'libglade2'
class GladeXML without_ source_ guard :connect source_ from_gc( source) without_ source_ guard(source, target, signal, handler, data, after)
alias :connect_
def connect(source, target, signal, handler, data, after = false)
guard_
connect_
end
end