removed INIT_LOCALE() macro. Error out if config.h wasn't included before.

2002-02-18  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpintl.h: removed INIT_LOCALE() macro. Error out if
	config.h wasn't included before.

	* app/main.c: directly call the appropriate functions to set up I18N.

	* libgimp/libgimp-intl.h: error out if config.h wasn't included.

	* plug-ins/script-fu/script-fu-intl.h: set codeset to UTF-8.
This commit is contained in:
Sven Neumann
2002-02-18 17:42:17 +00:00
committed by Sven Neumann
parent bec4c72534
commit d3f6ad0968
5 changed files with 35 additions and 19 deletions

View File

@ -22,6 +22,9 @@
#ifndef __LIBGIMP_INTL_H__
#define __LIBGIMP_INTL_H__
#ifndef GETTEXT_PACKAGE
#error "config.h must be included prior to libgimp-intl.h"
#endif
#ifdef ENABLE_NLS
# include <libintl.h>