Re: Re: Re: Gtk2::ImageView memory issue



On Mar 6, 2009 10:29am, jeffrey ratcliffe gmail com wrote:
> Presumably this is also the case for Glib::Boxed (Gtk2::Gdk::Pixbuf::Draw::Cache), although as the library supplies gdk_pixbuf_draw_cache_free, I should create a DESTROY method which calls this instead.

Hmm... Can't do this, as Gtk2::Gdk::Pixbuf::Draw::Cache is not an object.

So - how do I bless Gtk2::Gdk::Pixbuf::Draw::Cache when the C library thinks it is GBoxed?

Regards

Jeff

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