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:

committed by
Sven Neumann

parent
bec4c72534
commit
d3f6ad0968
@ -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>
|
||||
|
Reference in New Issue
Block a user