Re: GStrings and sorting GLists
- From: David Nečas (Yeti) <yeti physics muni cz>
- To: gtk-app-devel-list gnome org
- Subject: Re: GStrings and sorting GLists
- Date: Sun, 17 Dec 2006 15:35:00 +0100
On Sun, Dec 17, 2006 at 04:00:42AM +0100, Hadron Quark wrote:
Are there no comparison operations other than g_string_equal in order to
facilitate the sorting of GList objects that contain GStrings?
I'm not sure how g_string_equal() facilitates sorting when
it returns only TRUE/FALSE for equality, but any C string
comparison function is usable on gstring->str. Yes, you
have to write the one-line wrapper yourself.
Yeti
--
Whatever.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]