There are two approaches. The data you set with gtk_object_set_data is simply a gpointer and when the object is destroyed or the data is removed it manages the pointer but not the data (location) it points to. If you eventually would like to perform some freeing when the data is removed use g_object_set_data_full and specify a destroy callback.
Atanas _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list