Re: [gtk-list] pixmap destruction



On Thu, Jan 08, 1998 at 09:59:52PM -0600, Landshark wrote:
> 
> I recently installed the 'current' version(0.99.2)  of gtk/gdk ( I don't
> know what version I had previously), but gdk_pixmap_destroy was gone.
> What do I use in place of this?

The old gdk_pixmap_destroy() was broken.  As of 0.99.1, it was replaced by
gdk_pixmap_unref(), which will properly free memory for your pixmap when
it's refcount is 0.  See the REFCOUNTING in the gtk+ source distribution.

-Peter



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