File: gimpthumb-enums.c

package info (click to toggle)
gimp 2.6.10-1+squeeze4
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 128,948 kB
  • ctags: 55,327
  • sloc: ansic: 635,142; lisp: 10,678; sh: 10,420; makefile: 9,729; python: 3,366; perl: 2,713; xml: 1,152; yacc: 554; lex: 339
file content (75 lines) | stat: -rw-r--r-- 2,024 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75

/* Generated data (by gimp-mkenums) */

#include "config.h"
#include <glib-object.h>
#include "gimpthumb-enums.h"

/* enumerations from "./gimpthumb-enums.h" */
GType
gimp_thumb_file_type_get_type (void)
{
  static const GEnumValue values[] =
  {
    { GIMP_THUMB_FILE_TYPE_NONE, "GIMP_THUMB_FILE_TYPE_NONE", "none" },
    { GIMP_THUMB_FILE_TYPE_REGULAR, "GIMP_THUMB_FILE_TYPE_REGULAR", "regular" },
    { GIMP_THUMB_FILE_TYPE_FOLDER, "GIMP_THUMB_FILE_TYPE_FOLDER", "folder" },
    { GIMP_THUMB_FILE_TYPE_SPECIAL, "GIMP_THUMB_FILE_TYPE_SPECIAL", "special" },
    { 0, NULL, NULL }
  };

  static GType type = 0;

  if (! type)
    type = g_enum_register_static ("GimpThumbFileType", values);

  return type;
}

GType
gimp_thumb_size_get_type (void)
{
  static const GEnumValue values[] =
  {
    { GIMP_THUMB_SIZE_FAIL, "GIMP_THUMB_SIZE_FAIL", "fail" },
    { GIMP_THUMB_SIZE_NORMAL, "GIMP_THUMB_SIZE_NORMAL", "normal" },
    { GIMP_THUMB_SIZE_LARGE, "GIMP_THUMB_SIZE_LARGE", "large" },
    { 0, NULL, NULL }
  };

  static GType type = 0;

  if (! type)
    type = g_enum_register_static ("GimpThumbSize", values);

  return type;
}

GType
gimp_thumb_state_get_type (void)
{
  static const GEnumValue values[] =
  {
    { GIMP_THUMB_STATE_UNKNOWN, "GIMP_THUMB_STATE_UNKNOWN", "unknown" },
    { GIMP_THUMB_STATE_REMOTE, "GIMP_THUMB_STATE_REMOTE", "remote" },
    { GIMP_THUMB_STATE_FOLDER, "GIMP_THUMB_STATE_FOLDER", "folder" },
    { GIMP_THUMB_STATE_SPECIAL, "GIMP_THUMB_STATE_SPECIAL", "special" },
    { GIMP_THUMB_STATE_NOT_FOUND, "GIMP_THUMB_STATE_NOT_FOUND", "not-found" },
    { GIMP_THUMB_STATE_EXISTS, "GIMP_THUMB_STATE_EXISTS", "exists" },
    { GIMP_THUMB_STATE_OLD, "GIMP_THUMB_STATE_OLD", "old" },
    { GIMP_THUMB_STATE_FAILED, "GIMP_THUMB_STATE_FAILED", "failed" },
    { GIMP_THUMB_STATE_OK, "GIMP_THUMB_STATE_OK", "ok" },
    { 0, NULL, NULL }
  };

  static GType type = 0;

  if (! type)
    type = g_enum_register_static ("GimpThumbState", values);

  return type;
}


/* Generated data ends here */