mirror of https://github.com/GNOME/gimp.git
applied gimp-ovchinnikov-970312-0.patch which initializes locale
--Sven
This commit is contained in:
parent
b3d28f6fdb
commit
c934cc8cce
|
@ -1,3 +1,8 @@
|
|||
Sat Mar 14 18:50:29 MET 1998 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/main.c: applied gimp-ovchinnikov-970312-0.patch which
|
||||
initializes locale.
|
||||
|
||||
Sat Mar 14 17:17:31 MET 1998 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/internal_procs.c
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
#include "config.h"
|
||||
#include <locale.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <signal.h>
|
||||
|
@ -84,6 +85,8 @@ main (int argc, char **argv)
|
|||
prog_name = argv[0];
|
||||
|
||||
/* Initialize Gtk toolkit */
|
||||
gtk_set_locale ();
|
||||
setlocale(LC_NUMERIC, "C"); /* must use dot, not comma, as decimal separator */
|
||||
gtk_init (&argc, &argv);
|
||||
gtk_accelerator_table_set_mod_mask (NULL, GDK_SHIFT_MASK |
|
||||
GDK_CONTROL_MASK |
|
||||
|
|
Loading…
Reference in New Issue