Re: GdkPixmap freeing



Visti Andresen <visti aminova dk> writes:
Hi I'm setting GtkPixmap using:

     gtk_pixmap_set(picture, pixmap, mask );

The GtkPixmap will add a reference to the pixmap and mask, so you
still own the reference you had.
 
Oh yes I almost forgot. Does gtk_pixmap_set make a copy of the pixmap, or
does it just use its pointer.

It just uses a pointer, but it adds a reference.

Havoc



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