Re: GdkPixmap freeing
- From: Havoc Pennington <hp redhat com>
- To: visti aminova dk
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GdkPixmap freeing
- Date: 17 Dec 2001 15:25:45 -0500
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]