Re: Gtk2::ImageView memory issue
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: Gtk2::ImageView memory issue
- Date: Fri, 06 Mar 2009 10:01:56 +0100
Kevin Ryde wrote:
I wonder if the return for gtk_image_tool_selector_new() in the .xs
should be SVGtkIImageTool_noinc, if that func gives you a ref to take
over. Seems to make it work for me ...
Yes. Constructors and other functions returning new instances of direct GObject
descendants need to use the _noinc typemaps to assume ownership. This is not
necessary for GtkObject descendants.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]