Re: [gtk-list] gdk_image_get and memory management
- From: Federico Mena Quintero <federico redhat com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] gdk_image_get and memory management
- Date: Wed, 18 Aug 1999 23:40:04 -0400
> I want to use the gdk_image_get function to convert a GdkPixmap
> to a GdkImage. If I retrieve the image using gdk_image_get and
> immediately call gdk_pixmap_unref on the pixmap, will the
> retrieved image still be valid? Or, do I have to make a copy of the
> image from the value retrieved by gdk_image_get into a new
> GdkImage structure?
Pixmap data lives in the X server, while image data lives in your X
client, so you do not need to do anything special.
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]