Re: gdk_pixmap_unref in perl-GTK?
- From: Paolo Molaro <lupus ximian com>
- To: gtk-perl-list gnome org
- Subject: Re: gdk_pixmap_unref in perl-GTK?
- Date: Sun, 11 Feb 2001 15:53:35 +0100
On 02/10/01 Michael Ivanov wrote:
Is there any way to release pixmap, created with new Gtk::Gdk::Pixmap,
on X server side? I browsed through perl-gtk sources, but didn't find
an interface to gdk_pixmap_unref() (which, as I understand, should do
the job).
The pixmap is automatically unref()ed when it isn't used anymore, you
should not need to unref it explicitly from perl code.
undef $pixmap;
Should do the right thing when you are done with it (or just let perl do it
if it's a my var that goes out of scope...). If you think there is some kind
of memory leak, please post more details.
lupus
--
-----------------------------------------------------------------
lupus debian org debian/rules
lupus ximian com Monkeys do it better
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]