~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to app/plug-in/plug-in-enums.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
/* Generated data (by gimp-mkenums) */
 
3
 
 
4
#include "config.h"
 
5
#include <glib-object.h>
 
6
#include "libgimpbase/gimpbase.h"
 
7
#include "plug-in-enums.h"
 
8
#include "gimp-intl.h"
 
9
 
 
10
/* enumerations from "./plug-in-enums.h" */
 
11
GType
 
12
gimp_plug_in_image_type_get_type (void)
 
13
{
 
14
  static const GFlagsValue values[] =
 
15
  {
 
16
    { GIMP_PLUG_IN_RGB_IMAGE, "GIMP_PLUG_IN_RGB_IMAGE", "rgb-image" },
 
17
    { GIMP_PLUG_IN_GRAY_IMAGE, "GIMP_PLUG_IN_GRAY_IMAGE", "gray-image" },
 
18
    { GIMP_PLUG_IN_INDEXED_IMAGE, "GIMP_PLUG_IN_INDEXED_IMAGE", "indexed-image" },
 
19
    { GIMP_PLUG_IN_RGBA_IMAGE, "GIMP_PLUG_IN_RGBA_IMAGE", "rgba-image" },
 
20
    { GIMP_PLUG_IN_GRAYA_IMAGE, "GIMP_PLUG_IN_GRAYA_IMAGE", "graya-image" },
 
21
    { GIMP_PLUG_IN_INDEXEDA_IMAGE, "GIMP_PLUG_IN_INDEXEDA_IMAGE", "indexeda-image" },
 
22
    { 0, NULL, NULL }
 
23
  };
 
24
 
 
25
  static const GimpFlagsDesc descs[] =
 
26
  {
 
27
    { GIMP_PLUG_IN_RGB_IMAGE, "GIMP_PLUG_IN_RGB_IMAGE", NULL },
 
28
    { GIMP_PLUG_IN_GRAY_IMAGE, "GIMP_PLUG_IN_GRAY_IMAGE", NULL },
 
29
    { GIMP_PLUG_IN_INDEXED_IMAGE, "GIMP_PLUG_IN_INDEXED_IMAGE", NULL },
 
30
    { GIMP_PLUG_IN_RGBA_IMAGE, "GIMP_PLUG_IN_RGBA_IMAGE", NULL },
 
31
    { GIMP_PLUG_IN_GRAYA_IMAGE, "GIMP_PLUG_IN_GRAYA_IMAGE", NULL },
 
32
    { GIMP_PLUG_IN_INDEXEDA_IMAGE, "GIMP_PLUG_IN_INDEXEDA_IMAGE", NULL },
 
33
    { 0, NULL, NULL }
 
34
  };
 
35
 
 
36
  static GType type = 0;
 
37
 
 
38
  if (! type)
 
39
    {
 
40
      type = g_flags_register_static ("GimpPlugInImageType", values);
 
41
      gimp_flags_set_value_descriptions (type, descs);
 
42
    }
 
43
 
 
44
  return type;
 
45
}
 
46
 
 
47
GType
 
48
gimp_plug_in_call_mode_get_type (void)
 
49
{
 
50
  static const GEnumValue values[] =
 
51
  {
 
52
    { GIMP_PLUG_IN_CALL_NONE, "GIMP_PLUG_IN_CALL_NONE", "none" },
 
53
    { GIMP_PLUG_IN_CALL_RUN, "GIMP_PLUG_IN_CALL_RUN", "run" },
 
54
    { GIMP_PLUG_IN_CALL_QUERY, "GIMP_PLUG_IN_CALL_QUERY", "query" },
 
55
    { GIMP_PLUG_IN_CALL_INIT, "GIMP_PLUG_IN_CALL_INIT", "init" },
 
56
    { 0, NULL, NULL }
 
57
  };
 
58
 
 
59
  static const GimpEnumDesc descs[] =
 
60
  {
 
61
    { GIMP_PLUG_IN_CALL_NONE, "GIMP_PLUG_IN_CALL_NONE", NULL },
 
62
    { GIMP_PLUG_IN_CALL_RUN, "GIMP_PLUG_IN_CALL_RUN", NULL },
 
63
    { GIMP_PLUG_IN_CALL_QUERY, "GIMP_PLUG_IN_CALL_QUERY", NULL },
 
64
    { GIMP_PLUG_IN_CALL_INIT, "GIMP_PLUG_IN_CALL_INIT", NULL },
 
65
    { 0, NULL, NULL }
 
66
  };
 
67
 
 
68
  static GType type = 0;
 
69
 
 
70
  if (! type)
 
71
    {
 
72
      type = g_enum_register_static ("GimpPlugInCallMode", values);
 
73
      gimp_enum_set_value_descriptions (type, descs);
 
74
    }
 
75
 
 
76
  return type;
 
77
}
 
78
 
 
79
 
 
80
/* Generated data ends here */
 
81