Re: Where is Glib::strfreev()?




I think it means g_strfreev, where it frees an array of null terminated
strings. 

See
http://library.gnome.org/devel/glib/stable/glib-String-Utility-Functions.html

Cheers
Johnson



Message: 1
Date: Fri, 1 May 2009 22:34:48 +0300
From: sledge hammer <sledgehammer_999 hotmail com>
Subject: Where is Glib::strfreev()?
To: <gtk-app-devel-list gnome org>
Message-ID: <BLU122-W418DF7831E7A7544F62C9EAB6D0 phx gbl>
Content-Type: text/plain; charset="iso-8859-7"


Hello,

I use Gtk::SelectionData::get_uris() and in the docs says that if I get a non-0 result I should use 
Glib::strfreev() to free it.

The problem is there is no documentation about Glib::strfreev() and I don't know how to use it. I cant even 
find an example that uses it. So can you show me how to use it to free the result and have mem leaks?

Sidenote: I use std::vector<Glib::ustring> as container.

Thanks in advance.
_________________________________________________________________
????? Messenger; ????? ??? Windows Live. ?????? ???????????.
http://www.microsoft.com/windows/windowslive






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