mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
use setlocale() in preference to gtk_set_locale()
This commit is contained in:
parent
84a0386f9c
commit
69f67b6198
1 changed files with 4 additions and 2 deletions
|
|
@ -18,10 +18,12 @@
|
|||
*/
|
||||
|
||||
#include <cstdlib>
|
||||
#include <signal.h>
|
||||
#include <cerrno>
|
||||
#include <vector>
|
||||
|
||||
#include <signal.h>
|
||||
#include <locale.h>
|
||||
|
||||
#include <sigc++/bind.h>
|
||||
#include <gtkmm/settings.h>
|
||||
|
||||
|
|
@ -294,7 +296,7 @@ int main (int argc, char *argv[])
|
|||
#endif
|
||||
|
||||
#ifdef ENABLE_NLS
|
||||
gtk_set_locale ();
|
||||
setlocale (LC_ALL, "");
|
||||
#endif
|
||||
|
||||
console_madness_begin();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue