plug-ins/print/Makefile.am set the locale to "gimp-std-plug-ins". We do

2000-11-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/Makefile.am
	* plug-ins/print/print.c: set the locale to "gimp-std-plug-ins". We
	do this by defining LOCALE in the Makefile so the gimp-print people
	can define their own value and we can still continue to use the same
	C files that ship with the standalone gimp-print package. Thanks to
	Zbigniew Chyla <cyba@gnome.pl> for pointing this out.
This commit is contained in:
Sven Neumann 2000-11-16 21:26:11 +00:00 committed by Sven Neumann
parent c84c286b87
commit e94f7fd15e
3 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,12 @@
2000-11-16 Sven Neumann <sven@gimp.org>
* plug-ins/print/Makefile.am
* plug-ins/print/print.c: set the locale to "gimp-std-plug-ins". We
do this by defining LOCALE in the Makefile so the gimp-print people
can define their own value and we can still continue to use the same
C files that ship with the standalone gimp-print package. Thanks to
Zbigniew Chyla <cyba@gnome.pl> for pointing this out.
2000-11-15 Sven Neumann <sven@gimp.org>
* app/fileops.c: we used to g_free memory returned by strdup() here!

View File

@ -43,6 +43,7 @@ INCLUDES = \
AM_CPPFLAGS = \
-DLOCALEDIR=\""$(localedir)"\" \
-DLOCALE=\""gimp-std-plugins"\" \
@LP_DEF@ \
@LPSTAT_DEF@ \
@LPR_DEF@ \

View File

@ -327,7 +327,7 @@ run (char *name, /* I - Name of print program. */
;
#endif
INIT_LOCALE ("gimp-print");
INIT_LOCALE (LOCALE);
/*
* Initialize parameter data...