Using g_utf8_collate() with gtk_disable_setlocale()

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

 



Is there any way to make g_utf8_collate() use the system's locale
when using gtk_disable_setlocale()? In my application I need to use
gtk_disable_setlocale() because having GTK call setlocale() has
several implications which I'd like to avoid (e.g. strtod() suddenly
expecting a comma instead of a point as a decimal separator).

So I'd like to ask if there is any other way to tell glib to use
the system's locale when sorting using g_utf8_collate() so that I
can keep my call to gtk_disable_setlocale() and still use g_utf8_collate
to sort using the system's locale?

Thanks!

-- 
Best regards,
 Andreas Falkenhahn                          mailto:andreas@xxxxxxxxxxxxxx

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list



[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux