On Sun, 31 Oct 2004 09:26:00 +0100, antongiulio <[EMAIL PROTECTED]> wrote: [...] > Why using g_object_unref to place g_free? g_free is used to free a memory region, g_object_unref decreases the reference count on a GObject (or any derivitaves ofcourse). (when the reference count drops to 0, all the resources attatched to that object are released).
> What is usefulness of g_object_set_data and g_object_add_weak_pointer? g_object_set_data just sets a pointer to a string typed hash map attatched to the object in question. You can find all these answers at http://www.gtk.org/api Cheers, -Tristan _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list