[dia] [gtk-deprecated] no more gtk_set_locale()
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] [gtk-deprecated] no more gtk_set_locale()
- Date: Sun, 27 Mar 2011 12:10:04 +0000 (UTC)
commit 64597b78c6d0ee18b22dfd0735d275b8b991584e
Author: Hans Breuer <hans breuer org>
Date: Sun Mar 27 12:07:53 2011 +0200
[gtk-deprecated] no more gtk_set_locale()
app/app_procs.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/app/app_procs.c b/app/app_procs.c
index d3b9ede..b1b515d 100644
--- a/app/app_procs.c
+++ b/app/app_procs.c
@@ -749,7 +749,11 @@ app_init (int argc, char **argv)
argv0 = (argc > 0) ? argv[0] : "(none)";
+#if GTK_CHECK_VERSION(2,24,0)
+ /* ... use setlocale directly? */
+#else
gtk_set_locale();
+#endif
setlocale(LC_NUMERIC, "C");
_setup_textdomains ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]