Re: gdk_pixmap_destroy




"David M. Cook" <davecook@hotmail.com> writes:

> I've noticed that this call is no longer in the header files (.99.3).
> Does this mean it is not necessary to free up pixmaps, or should I just 
> use g_free?

No. ;-)

pixmaps are now reference counted, and in general, the replacement
for gtk_pixmap_destroy is gtk_pixmap_unref. (You are saying
"I don't care about the pixmap", but leaving open the possiblity
that someone else does.)

Regards,
                                        Owen



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