~ubuntu-branches/ubuntu/oneiric/gimp/oneiric-security

1.1.4 by Daniel Holbach
Import upstream version 2.3.16
1
/* Generated data (by gimp-mkenums) */
2
3
#include "config.h"
4
#include <glib-object.h>
5
#include "libgimpbase/gimpbasetypes.h"
6
#include "gimpcolorconfig-enums.h"
7
#include "libgimp/libgimp-intl.h"
8
9
/* enumerations from "./gimpcolorconfig-enums.h" */
10
GType
11
gimp_color_management_mode_get_type (void)
12
{
13
  static const GEnumValue values[] =
14
  {
15
    { GIMP_COLOR_MANAGEMENT_OFF, "GIMP_COLOR_MANAGEMENT_OFF", "off" },
16
    { GIMP_COLOR_MANAGEMENT_DISPLAY, "GIMP_COLOR_MANAGEMENT_DISPLAY", "display" },
17
    { GIMP_COLOR_MANAGEMENT_SOFTPROOF, "GIMP_COLOR_MANAGEMENT_SOFTPROOF", "softproof" },
18
    { 0, NULL, NULL }
19
  };
20
21
  static const GimpEnumDesc descs[] =
22
  {
23
    { GIMP_COLOR_MANAGEMENT_OFF, N_("No color management"), NULL },
24
    { GIMP_COLOR_MANAGEMENT_DISPLAY, N_("Color managed display"), NULL },
25
    { GIMP_COLOR_MANAGEMENT_SOFTPROOF, N_("Print simulation"), NULL },
26
    { 0, NULL, NULL }
27
  };
28
29
  static GType type = 0;
30
31
  if (! type)
32
    {
33
      type = g_enum_register_static ("GimpColorManagementMode", values);
34
      gimp_type_set_translation_domain (type, GETTEXT_PACKAGE "-libgimp");
35
      gimp_enum_set_value_descriptions (type, descs);
36
    }
37
38
  return type;
39
}
40
41
GType
42
gimp_color_rendering_intent_get_type (void)
43
{
44
  static const GEnumValue values[] =
45
  {
46
    { GIMP_COLOR_RENDERING_INTENT_PERCEPTUAL, "GIMP_COLOR_RENDERING_INTENT_PERCEPTUAL", "perceptual" },
47
    { GIMP_COLOR_RENDERING_INTENT_RELATIVE_COLORIMETRIC, "GIMP_COLOR_RENDERING_INTENT_RELATIVE_COLORIMETRIC", "relative-colorimetric" },
48
    { GIMP_COLOR_RENDERING_INTENT_SATURATION, "GIMP_COLOR_RENDERING_INTENT_SATURATION", "saturation" },
49
    { GIMP_COLOR_RENDERING_INTENT_ABSOLUTE_COLORIMETRIC, "GIMP_COLOR_RENDERING_INTENT_ABSOLUTE_COLORIMETRIC", "absolute-colorimetric" },
50
    { 0, NULL, NULL }
51
  };
52
53
  static const GimpEnumDesc descs[] =
54
  {
55
    { GIMP_COLOR_RENDERING_INTENT_PERCEPTUAL, N_("Perceptual"), NULL },
56
    { GIMP_COLOR_RENDERING_INTENT_RELATIVE_COLORIMETRIC, N_("Relative colorimetric"), NULL },
57
    { GIMP_COLOR_RENDERING_INTENT_SATURATION, N_("intent|Saturation"), NULL },
58
    { GIMP_COLOR_RENDERING_INTENT_ABSOLUTE_COLORIMETRIC, N_("Absolute colorimetric"), NULL },
59
    { 0, NULL, NULL }
60
  };
61
62
  static GType type = 0;
63
64
  if (! type)
65
    {
66
      type = g_enum_register_static ("GimpColorRenderingIntent", values);
67
      gimp_type_set_translation_domain (type, GETTEXT_PACKAGE "-libgimp");
68
      gimp_enum_set_value_descriptions (type, descs);
69
    }
70
71
  return type;
72
}
73
74
75
/* Generated data ends here */
76
77