~mterry/ubuntu/natty/gnome-shell/wip

« back to all changes in this revision

Viewing changes to src/st-enum-types.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-10-12 22:44:00 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20091012224400-k91p42yvou07i525
Tags: 2.28.0-0ubuntu1
* New upstream version
* debian/control:
  - updated build requirement
* debian/patches/80_git_change_fix_alt_tab_ressource_usage.patch:
  - git change to fix ressources not being freed on alt-tab

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
/* Generated data (by glib-mkenums) */
 
3
 
 
4
#include "st-enum-types.h"
 
5
/* enumerations from "st/st-table.h" */
 
6
#include "st/st-table.h"
 
7
GType
 
8
st_table_child_options_get_type(void) {
 
9
  static GType enum_type_id = 0;
 
10
  if (G_UNLIKELY (!enum_type_id))
 
11
    {
 
12
      static const GFlagsValue values[] = {
 
13
        { ST_KEEP_ASPECT_RATIO, "ST_KEEP_ASPECT_RATIO", "keep-aspect-ratio" },
 
14
        { ST_X_EXPAND, "ST_X_EXPAND", "x-expand" },
 
15
        { ST_Y_EXPAND, "ST_Y_EXPAND", "y-expand" },
 
16
        { ST_X_FILL, "ST_X_FILL", "x-fill" },
 
17
        { ST_Y_FILL, "ST_Y_FILL", "y-fill" },
 
18
        { 0, NULL, NULL }
 
19
      };
 
20
      enum_type_id = g_flags_register_static (g_intern_static_string ("StTableChildOptions"), values);
 
21
    }
 
22
  return enum_type_id;
 
23
}
 
24
/* enumerations from "st/st-theme-node.h" */
 
25
#include "st/st-theme-node.h"
 
26
GType
 
27
st_side_get_type(void) {
 
28
  static GType enum_type_id = 0;
 
29
  if (G_UNLIKELY (!enum_type_id))
 
30
    {
 
31
      static const GEnumValue values[] = {
 
32
        { ST_SIDE_TOP, "ST_SIDE_TOP", "top" },
 
33
        { ST_SIDE_RIGHT, "ST_SIDE_RIGHT", "right" },
 
34
        { ST_SIDE_BOTTOM, "ST_SIDE_BOTTOM", "bottom" },
 
35
        { ST_SIDE_LEFT, "ST_SIDE_LEFT", "left" },
 
36
        { 0, NULL, NULL }
 
37
      };
 
38
      enum_type_id = g_enum_register_static (g_intern_static_string ("StSide"), values);
 
39
    }
 
40
  return enum_type_id;
 
41
}
 
42
GType
 
43
st_corner_get_type(void) {
 
44
  static GType enum_type_id = 0;
 
45
  if (G_UNLIKELY (!enum_type_id))
 
46
    {
 
47
      static const GEnumValue values[] = {
 
48
        { ST_CORNER_TOPLEFT, "ST_CORNER_TOPLEFT", "topleft" },
 
49
        { ST_CORNER_TOPRIGHT, "ST_CORNER_TOPRIGHT", "topright" },
 
50
        { ST_CORNER_BOTTOMRIGHT, "ST_CORNER_BOTTOMRIGHT", "bottomright" },
 
51
        { ST_CORNER_BOTTOMLEFT, "ST_CORNER_BOTTOMLEFT", "bottomleft" },
 
52
        { 0, NULL, NULL }
 
53
      };
 
54
      enum_type_id = g_enum_register_static (g_intern_static_string ("StCorner"), values);
 
55
    }
 
56
  return enum_type_id;
 
57
}
 
58
GType
 
59
st_text_decoration_get_type(void) {
 
60
  static GType enum_type_id = 0;
 
61
  if (G_UNLIKELY (!enum_type_id))
 
62
    {
 
63
      static const GFlagsValue values[] = {
 
64
        { ST_TEXT_DECORATION_UNDERLINE, "ST_TEXT_DECORATION_UNDERLINE", "underline" },
 
65
        { ST_TEXT_DECORATION_OVERLINE, "ST_TEXT_DECORATION_OVERLINE", "overline" },
 
66
        { ST_TEXT_DECORATION_LINE_THROUGH, "ST_TEXT_DECORATION_LINE_THROUGH", "line-through" },
 
67
        { ST_TEXT_DECORATION_BLINK, "ST_TEXT_DECORATION_BLINK", "blink" },
 
68
        { 0, NULL, NULL }
 
69
      };
 
70
      enum_type_id = g_flags_register_static (g_intern_static_string ("StTextDecoration"), values);
 
71
    }
 
72
  return enum_type_id;
 
73
}
 
74
/* enumerations from "st/st-types.h" */
 
75
#include "st/st-types.h"
 
76
GType
 
77
st_align_get_type(void) {
 
78
  static GType enum_type_id = 0;
 
79
  if (G_UNLIKELY (!enum_type_id))
 
80
    {
 
81
      static const GEnumValue values[] = {
 
82
        { ST_ALIGN_START, "ST_ALIGN_START", "start" },
 
83
        { ST_ALIGN_MIDDLE, "ST_ALIGN_MIDDLE", "middle" },
 
84
        { ST_ALIGN_END, "ST_ALIGN_END", "end" },
 
85
        { 0, NULL, NULL }
 
86
      };
 
87
      enum_type_id = g_enum_register_static (g_intern_static_string ("StAlign"), values);
 
88
    }
 
89
  return enum_type_id;
 
90
}
 
91
 
 
92
/* Generated data ends here */
 
93