gdk_image_get and memory management



Hi all,

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?

Thanks,
--Arthur



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