Re: gdk_pixmap de/allocation
- From: Havoc Pennington <hp redhat com>
- To: sgop users sourceforge net
- Cc: gtk-app-devel-list gnome org
- Subject: Re: gdk_pixmap de/allocation
- Date: 19 Sep 2001 17:40:40 -0400
Markus Lausser <sgop users sourceforge net> writes:
Now my question: do i have to deallocate the old pixmap or something?
i cant find any pixmap deallocation function, for now i only
gtk_pixmap_unref() on the old pixmap. Is that enough?
gdk_pixmap_unref() the pixmap when you are done with it (after setting
it in the clist). The clist will hold a reference, so you can unref as
soon as you've handed off to the clist.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]