Re: gdk_pixmap de/allocation



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]