Gtk::Builder#objects throws

Hi,

I’ve found out this behaviour of Gtk::Builder just now.
Gtk::Builder#objects used to return an array with all the interface
objects loaded from a definition, now when calling the method it just
throws “(null) isn’t supported (TypeError)”.

Here’s a test case.

require ‘rubygems’
require ‘libglade2’

definition = ‘


600
400
True




builder = Gtk::Builder.new
builder.add(definition)
builder.objects

Is this by design(i.e. Builder#objects is now deprecated, has a
different usage)?


Andrea D.