~ubuntu-branches/ubuntu/saucy/almanah/saucy

« back to all changes in this revision

Viewing changes to src/widgets/eggwrapbox-enums.c

  • Committer: Package Import Robot
  • Author(s): Angel Abad
  • Date: 2013-05-14 10:27:40 UTC
  • mfrom: (10.1.6 experimental)
  • Revision ID: package-import@ubuntu.com-20130514102740-llxargofarqlytwv
Tags: 0.10.8-1
* Imported Upstream version 0.10.8
* debian/control:
  - Build-Depends on versioned libgtk-3-dev (>= 3.5.6)
  - Remove libedataserverui-3.0-dev from Build-Depends
  - Build-Depends on libgtkspell3-3-dev
* debian/patches/desktop_keywords:
  - Add Keywords entry in .desktop file
* debian/patches/spellchecking_error:
  - Fix spellchecking errors

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
 
 
3
 
 
4
#include "eggwrapbox-enums.h"
 
5
 
 
6
/* enumerations from "eggwrapbox.h" */
 
7
#include "eggwrapbox.h"
 
8
GType
 
9
egg_wrap_allocation_mode_get_type (void)
 
10
{
 
11
  static GType type = 0;
 
12
 
 
13
  if (!type)
 
14
  {
 
15
    static const GEnumValue _egg_wrap_allocation_mode_values[] = {
 
16
      { EGG_WRAP_ALLOCATE_FREE, "EGG_WRAP_ALLOCATE_FREE", "free" },
 
17
      { EGG_WRAP_ALLOCATE_ALIGNED, "EGG_WRAP_ALLOCATE_ALIGNED", "aligned" },
 
18
      { EGG_WRAP_ALLOCATE_HOMOGENEOUS, "EGG_WRAP_ALLOCATE_HOMOGENEOUS", "homogeneous" },
 
19
      { 0, NULL, NULL }
 
20
    };
 
21
 
 
22
    type = g_enum_register_static ("EggWrapAllocationMode", _egg_wrap_allocation_mode_values);
 
23
  }
 
24
 
 
25
  return type;
 
26
}
 
27
 
 
28
GType
 
29
egg_wrap_box_spreading_get_type (void)
 
30
{
 
31
  static GType type = 0;
 
32
 
 
33
  if (!type)
 
34
  {
 
35
    static const GEnumValue _egg_wrap_box_spreading_values[] = {
 
36
      { EGG_WRAP_BOX_SPREAD_START, "EGG_WRAP_BOX_SPREAD_START", "start" },
 
37
      { EGG_WRAP_BOX_SPREAD_END, "EGG_WRAP_BOX_SPREAD_END", "end" },
 
38
      { EGG_WRAP_BOX_SPREAD_EVEN, "EGG_WRAP_BOX_SPREAD_EVEN", "even" },
 
39
      { EGG_WRAP_BOX_SPREAD_EXPAND, "EGG_WRAP_BOX_SPREAD_EXPAND", "expand" },
 
40
      { 0, NULL, NULL }
 
41
    };
 
42
 
 
43
    type = g_enum_register_static ("EggWrapBoxSpreading", _egg_wrap_box_spreading_values);
 
44
  }
 
45
 
 
46
  return type;
 
47
}
 
48
 
 
49
GType
 
50
egg_wrap_box_packing_get_type (void)
 
51
{
 
52
  static GType type = 0;
 
53
 
 
54
  if (!type)
 
55
  {
 
56
    static const GFlagsValue _egg_wrap_box_packing_values[] = {
 
57
      { EGG_WRAP_BOX_H_EXPAND, "EGG_WRAP_BOX_H_EXPAND", "h-expand" },
 
58
      { EGG_WRAP_BOX_V_EXPAND, "EGG_WRAP_BOX_V_EXPAND", "v-expand" },
 
59
      { 0, NULL, NULL }
 
60
    };
 
61
 
 
62
    type = g_flags_register_static ("EggWrapBoxPacking", _egg_wrap_box_packing_values);
 
63
  }
 
64
 
 
65
  return type;
 
66
}
 
67
 
 
68
 
 
69
 
 
70