gimp/app/widgets/widgets-enums.c
Sven Neumann 28fddfd554 Makefile.am removed this header file.
2003-03-25  Sven Neumann  <sven@gimp.org>

	* Makefile.am
	* gimpintl.h: removed this header file.

	* gimpmiscui.c: include libgimp-intl.h.

	* gimp.c (gimp_main): call setlocale() and bind to the libgimp
	textdomain so that plug-ins don't need to do that explicitely.

	* libgimp/stdplugins-intl.h: added the functionality that used to
	live in gimpintl.h and removed the libgimp related stuff. Got rid
	of the INIT_I18N_UI() macro.

	* plug-ins/*/*.c: removed all occurances of INIT_I18N_UI().
	Plug-ins simply call INIT_I18N() once in their run() function.

	* plug-ins/script-fu/script-fu-intl.h: added the functionality
	that used to live in gimpintl.h and removed the libgimp related
	stuff.

	* app/Makefile.am
	* app/gimp-intl.h: new file that defines the gettext macros for
	the GIMP core.

	* app/*/*.c: include gimp-intl.h instead of libgimp/gimpintl.h.

	* plug-ins/script-fu/scripts/test-sphere.scm: fixed typos.
2003-03-25 16:38:19 +00:00

70 lines
1.4 KiB
C

/* Generated data (by gimp-mkenums) */
#include "config.h"
#include <gtk/gtk.h>
#include "widgets-enums.h"
#include "gimp-intl.h"
/* enumerations from "./widgets-enums.h" */
static const GEnumValue gimp_help_browser_type_enum_values[] =
{
{ GIMP_HELP_BROWSER_GIMP, N_("Internal"), "gimp" },
{ GIMP_HELP_BROWSER_NETSCAPE, N_("Netscape"), "netscape" },
{ 0, NULL, NULL }
};
GType
gimp_help_browser_type_get_type (void)
{
static GType enum_type = 0;
if (!enum_type)
enum_type = g_enum_register_static ("GimpHelpBrowserType", gimp_help_browser_type_enum_values);
return enum_type;
}
static const GEnumValue gimp_zoom_type_enum_values[] =
{
{ GIMP_ZOOM_IN, N_("Zoom in"), "in" },
{ GIMP_ZOOM_OUT, N_("Zoom out"), "out" },
{ 0, NULL, NULL }
};
GType
gimp_zoom_type_get_type (void)
{
static GType enum_type = 0;
if (!enum_type)
enum_type = g_enum_register_static ("GimpZoomType", gimp_zoom_type_enum_values);
return enum_type;
}
static const GEnumValue gimp_histogram_scale_enum_values[] =
{
{ GIMP_HISTOGRAM_SCALE_LINEAR, N_("Linear"), "linear" },
{ GIMP_HISTOGRAM_SCALE_LOGARITHMIC, N_("Logarithmic"), "logarithmic" },
{ 0, NULL, NULL }
};
GType
gimp_histogram_scale_get_type (void)
{
static GType enum_type = 0;
if (!enum_type)
enum_type = g_enum_register_static ("GimpHistogramScale", gimp_histogram_scale_enum_values);
return enum_type;
}
/* Generated data ends here */