Re: gtktreeview sort string function

2008-11-24 Thread Kristian Rietveld
Hi, On Mon, Nov 24, 2008 at 4:25 PM, Johnson Wong <[EMAIL PROTECTED]> wrote: > What compare functions does gtktreeview-columns use to sort strings? If I am not mistaking GtkListStore and GtkTreeStore use g_utf8_collate() by default for comparing strings. You can override the sort function used,

gtktreeview sort string function

2008-11-24 Thread Johnson Wong
Hi guys, What compare functions does gtktreeview-columns use to sort strings? I have my own GList sorted using g_ascii_strcasecmp(str1, str2) but this is different then gtktreeview internal sorting function. The tree view puts lower case text above upper case text but g_ascii_strcasecmp is the