Re: Problem with GValue



Yes you need g_free, becouse when you create a GValue you use:

g_new0 (GValue, 1)

Where 1 is the number of GValues you whant to create (like an array);
remember that GValue is just a C structure.



2006/2/17, Fernando Apesteguía <fernando apesteguia gmail com>:

Sorry if this is so trivial...

Did you try to g_free it?

Best regards!

---------- Forwarded message ----------
From: Maciej Piechotka <uzytkownik2 gmail com>
Date: 17-feb-2006 11:43
Subject: Problem with GValue
To: Gtk Mailing list <gtk-app-devel-list gnome org>

I'd like to destroy GValue.
How should I do it?
I cannot find any information about it.

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




--
Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (entrámite, pero para los cuates:
LIBRE)



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