Re: Glib: g_tree_foreach and GTransverseFunc questions.

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

 



Hi Jean:

The user_data argument is an extra argument you can use for your
purpose. If you don't need any, passing NULL is OK.

Ok, but... which purpose ? I mean, in which case is interesting
to use it ?

Does this really work? you should free value, not data.

It was a typo, my bad :)

Instead of doing this, you can create your tree with g_tree_new_full and
use (GDestroyNotify)g_free as third and fourth arguments. Using g_free
is better than using free.

Ok, I'll try. Thanks a lot.

--
[]'s

Lucas Brasilino
brasilino@xxxxxxxxxxxxxxx
Procuradoria da República no Estado de Roraima
+55-95-6239642

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux