Re: 0.20 release on sourceforge



René Seindal said:
It appears that Gtk2::ListStore doesn't have an unref() method, but since it
is a GObject, it should have one.

According to http://developer.gnome.org/doc/API/2.0/gtk/TreeWidget.html the
model should be unref'ed after it is given to the view, but the method isn't
there.

the perl developer need know nothing about reference counts on GObjects, GType
ids, freeing boxed types, etc --- the bindings do all of that for you.  (in
fact, this issue was the initial reason for the xs tree's existence!)

this document (culled from the list archives) explains the ideology of the
bindings from a perl developer's point of view, and should serve as the
beginnings of documentation:

   http://asofyet.org/muppet/software/gtk2-perl/braindump.html

-- 
muppet <scott at asofyet dot org>





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]