Re: GStrings and sorting GLists
- From: Hadron <hadronquark gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Re: GStrings and sorting GLists
- Date: Sun, 17 Dec 2006 16:54:29 -0800 (PST)
It doesnt matter. As I moved on to widgets it seems they couldnt cope with a
GList of GStrings anyway : so its back to normal g_string/gchar* stuff. Cuts
out the hassle of using (GString *)->str anyway.
David NeÄas (Yeti)-2 wrote:
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.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
--
View this message in context: http://www.nabble.com/GStrings-and-sorting-GLists-tf2835397.html#a7922139
Sent from the Gtk+ - Apps Dev mailing list archive at Nabble.com.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]