~ubuntu-branches/ubuntu/natty/libchamplain/natty

« back to all changes in this revision

Viewing changes to champlain/champlain-enum-types.c

  • Committer: Bazaar Package Importer
  • Author(s): Sjoerd Simons, Laurent Bigonville, Sjoerd Simons
  • Date: 2009-09-15 00:01:41 UTC
  • mfrom: (1.1.3 upstream) (2.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090915000141-i8fg5n1t02zxo79m
Tags: 0.4.0-1
[ Laurent Bigonville ]
* debian/control: Add libchamplain-0.3-dev dependency to
  libchamplain-gtk-0.3-dev

[ Sjoerd Simons ]
* New upstream release (0.4.0)

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
}
48
48
 
49
49
 
 
50
/* enumerations from "champlain-selection-layer.h" */
 
51
static const GEnumValue _champlain_selection_mode_values[] = {
 
52
  { CHAMPLAIN_SELECTION_NONE, "CHAMPLAIN_SELECTION_NONE", "none" },
 
53
  { CHAMPLAIN_SELECTION_SINGLE, "CHAMPLAIN_SELECTION_SINGLE", "single" },
 
54
  { CHAMPLAIN_SELECTION_MULTIPLE, "CHAMPLAIN_SELECTION_MULTIPLE", "multiple" },
 
55
  { 0, NULL, NULL }
 
56
};
 
57
 
 
58
GType
 
59
champlain_selection_mode_get_type (void)
 
60
{
 
61
  static GType type = 0;
 
62
 
 
63
  if (!type)
 
64
    type = g_enum_register_static ("ChamplainSelectionMode", _champlain_selection_mode_values);
 
65
 
 
66
  return type;
 
67
}
 
68
 
 
69
 
50
70
/* enumerations from "champlain-map-source.h" */
51
71
static const GEnumValue _champlain_map_projection_values[] = {
52
72
  { CHAMPLAIN_MAP_PROJECTION_MERCATOR, "CHAMPLAIN_MAP_PROJECTION_MERCATOR", "mercator" },