GtkImage/GdkPixbuf memory management
- From: "Kristof Vanbecelaere" <kristof vanbecelaere sonycom com>
- To: <gtk-list gnome org>
- Subject: GtkImage/GdkPixbuf memory management
- Date: Mon, 10 Jun 2002 10:23:25 +0200
Hi,
I want to implement some operation on a GtkImage by creating a new GdkPixbuf
and then calling gtk_image_set_from_pixbuf().
Is this the recommended way to implement such modifications? What about
memory management? Should I somehow free/unref the old pixbuf? And what
about the new pixbuf, should it be unref'ed after setting it to the image?
--Kristof
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]