Commit 7e6c4bf1 authored by Marcus Lundblad's avatar Marcus Lundblad
Browse files

Initial import from libchamplain

Import code from the Meson branch of libchamplain.
Skip ChaneLog and NEWS (as these would later be
added from scratch).
parents
Makefile
Makefile.in
aclocal.m4
autom4te.cache
*.pc
.deps
.libs
*.o
*.lo
*.la
*.stamp
*.gir
*.typelib
*.gi
*~
*#*
*.sw?
*.pyc
champlain-gtk/champlain-gtk-marshal.c
champlain-gtk/champlain-gtk-marshal.h
champlain-gtk/stamp-marshal
champlain-gtk/champlain-gtk-enum-types.c
champlain-gtk/champlain-gtk-enum-types.h
champlain-gtk/stamp-enum-types
champlain/champlain-marshal.c
champlain/champlain-marshal.h
champlain/stamp-marshal
champlain/champlain-enum-types.c
champlain/champlain-enum-types.h
champlain/stamp-enum-types
champlain/champlain-version.h
champlain/champlain-features.h
compile
config.guess
config.h
config.h.in
config.log
config.status
config.sub
configure
demos/animated-marker
demos/launcher
demos/launcher-gtk
demos/polygons
demos/url-marker
demos/local-rendering
demos/minimal
demos/minimal-gtk
demos/create-destroy-test
demos/launcher-vala
demos/launcher-vala.c
demos/markers-vala.c
depcomp
compile
docs/reference-gtk/libchamplain-gtk-undeclared.txt
docs/reference-gtk/libchamplain-gtk-undocumented.txt
docs/reference-gtk/libchamplain-gtk-unused.txt
docs/reference-gtk/libchamplain-gtk.args
docs/reference-gtk/libchamplain-gtk.hierarchy
docs/reference-gtk/libchamplain-gtk.interfaces
docs/reference-gtk/libchamplain-gtk.prerequisites
docs/reference-gtk/libchamplain-gtk.signals
docs/reference-gtk/version.xml
docs/reference-gtk/libchamplain-gtk-decl-list.txt
docs/reference-gtk/libchamplain-gtk-decl.txt
docs/reference-gtk/libchamplain-gtk-overrides.txt
docs/reference-gtk/libchamplain-gtk-types.txt
docs/reference-gtk/html/*.*
docs/reference-gtk/tmpl/*.*
docs/reference-gtk/xml/*.*
docs/reference/version.xml
docs/reference/libchamplain-undeclared.txt
docs/reference/libchamplain-undocumented.txt
docs/reference/libchamplain-unused.txt
docs/reference/libchamplain.args
docs/reference/libchamplain.hierarchy
docs/reference/libchamplain.interfaces
docs/reference/libchamplain.prerequisites
docs/reference/libchamplain.signals
docs/reference/libchamplain-decl-list.txt
docs/reference/libchamplain-decl.txt
docs/reference/libchamplain-overrides.txt
docs/reference/libchamplain-types.txt
docs/reference/html/*.*
docs/reference/tmpl/*.*
docs/reference/xml/*.*
gtk-doc.make
install-sh
libtool
ltmain.sh
missing
stamp-h1
tags
INSTALL
m4/libtool.m4
m4/ltoptions.m4
m4/ltsugar.m4
m4/ltversion.m4
m4/lt~obsolete.m4
m4/gtk-doc.m4
Pierre-Luc Beaudoin <pierre-luc@pierlux.com>
Jonathon Jongsma <jonathon@quotidian.org>
Lorenzo Masini <lorenxo86@gmail.com>
Packz Enoch <packz@autistici.org>
Thomas Van Machelen <thomas.vanmachelen@gmail.com>
Anders M-Pedersen <s071313@student.dtu.dk>
Stephane Delcroix <stephane@delcroix.org>
Denk Padje <denkpadje@gmail.com>
Mike Sheldon <mike@mikeasoft.com>
Emmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Emmanuele Bassi <ebassi@gnome.org>
Lionel Dricot <ploum@ploum.net>
Simon Wenner <simon@wenner.ch>
Kritarth Upadhyay <boyzoneblues@gmail.com>
Debarshi Ray <rishi@gnu.org>
Paulo Cabido <paulo.cabido@gmail.com>
Sjoerd Simons <sjoerd@luon.net>
Victor Godoy Poluceno <victorpoluceno@gmail.com>
Javier Jardón <javierjc1982@gmail.com>
Patryk Zawadzki <patrys@pld-linux.org>
Sebastian Reichel <elektranox@gmail.com>
Tim Horton <hortont424@gmail.com>
Frederic Peters <fpeters@0d.be>
Cosimo Cecchi <cosimoc@gnome.org>
Vincent Untz <vuntz@gnome.org>
Felix Riemann <friemann@gnome.org>
Cédric Bosdonnat <cedric.bosdonnat@free.fr>
Halton Huo <halton.huo@sun.com>
Bruce Cowan <bcowan@fastmail.co.uk>
Koop Mast <kwm@freebsd.org>
Laurent Bigonville <bigon@debian.org>
Tollef Fog Heen <tfheen@err.no>
Andreas Henriksson <andreas@fatal.se>
Jiří Techet <techet@gmail.com>
Götz Waschk <waschk@mandriva.org>
Rob Bradford <rob@linux.intel.com>
Tomaž Vajngerl <quikee@gmail.com>
Łukasz Jernaś <deejay1@srem.org>
Russell Strong <russell@strong.id.au>
Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Nirbheek Chauhan <nirbheek@gentoo.org>
William Jon McCann <jmccann@redhat.com>
Zeeshan Ali <zeeshanak@gnome.org>
This diff is collapsed.
SUBDIRS = build champlain
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
pcfiles = champlain-@CHAMPLAIN_API_VERSION@.pc
other_pcfiles = champlain-@CHAMPLAIN_API_VERSION@-uninstalled.pc
if ENABLE_GTK
SUBDIRS += champlain-gtk
pcfiles += champlain-gtk-@CHAMPLAIN_API_VERSION@.pc
other_pcfiles += champlain-gtk-@CHAMPLAIN_API_VERSION@-uninstalled.pc
endif
pkgconfig_DATA = $(pcfiles)
pkgconfigdir = $(libdir)/pkgconfig
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc --enable-gtk --enable-introspection --enable-vala-demos --disable-memphis
EXTRA_DIST = \
champlain-gtk.pc.in \
champlain-gtk-uninstalled.pc.in \
champlain.pc.in \
champlain-uninstalled.pc.in
DISTCLEANFILES = $(pcfiles) $(other_pcfiles)
all: $(other_pcfiles)
# Have the demos build at the end as they depend on optional parts
SUBDIRS += docs demos
dist-hook:
@if test -d "$(srcdir)/.git"; \
then \
echo Creating ChangeLog && \
( cd "$(top_srcdir)" && \
echo '# Generated by Makefile. Do not edit.'; echo; \
$(top_srcdir)/missing --run git log --pretty=medium ) > ChangeLog.tmp \
&& mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
|| ( rm -f ChangeLog.tmp ; \
echo Failed to generate ChangeLog >&2 ); \
else \
echo A git clone is required to generate a ChangeLog >&2; \
fi
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
PKG_NAME="libchamplain"
(test -f $srcdir/configure.ac) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level $PKG_NAME directory"
exit 1
}
which gnome-autogen.sh || {
echo "You need to install gnome-common module and make"
echo "sure the gnome-autogen.sh script is in your \$PATH."
exit 1
}
. gnome-autogen.sh
# ninja log v5
1 53 1546554227 champlain/champlain-marshal.h 87fc6492a50fcacd
3 111 1546554228 champlain-gtk/champlain-gtk-marshal.c c044b672f0601785
0 130 1546554228 champlain/champlain-marshal.c 1c71927ada8844bd
4 133 1546554228 champlain-gtk/champlain-gtk-marshal.h 1697410b896530b
2 728 1546554228 champlain-gtk/champlain-gtk-enum-types.c ebb3695c6ce2b271
3 730 1546554228 champlain-gtk/champlain-gtk-enum-types.h ad122d4bd0930ba0
2 744 1546554228 champlain/champlain-enum-types.h a9ca21a1da9b69d9
1 780 1546554228 champlain/champlain-enum-types.c f173edec707ac4ab
1 52 1546554457 champlain/champlain-marshal.c 1c71927ada8844bd
2 56 1546554457 champlain/champlain-marshal.h 87fc6492a50fcacd
4 62 1546554457 champlain-gtk/champlain-gtk-marshal.c c044b672f0601785
7 169 1546554457 champlain-gtk/champlain-gtk-marshal.h 1697410b896530b
4 657 1546554457 champlain-gtk/champlain-gtk-enum-types.h ad122d4bd0930ba0
2 682 1546554457 champlain/champlain-enum-types.c f173edec707ac4ab
3 702 1546554457 champlain-gtk/champlain-gtk-enum-types.c ebb3695c6ce2b271
3 734 1546554457 champlain/champlain-enum-types.h a9ca21a1da9b69d9
EXTRA_DIST = \
Makefile.am.marshal \
Makefile.am.enums
# Rules for generating enumeration types using glib-mkenums
#
# Define:
# glib_enum_h = header template file
# glib_enum_c = source template file
# glib_enum_headers = list of headers to parse
#
# before including Makefile.am.enums. You will also need to have
# the following targets already defined:
#
# CLEANFILES
# DISTCLEANFILES
# BUILT_SOURCES
# EXTRA_DIST
#
# Author: Emmanuele Bassi <ebassi@linux.intel.com>
enum_tmpl_h=$(glib_enum_h:.h=.h.in)
enum_tmpl_c=$(glib_enum_c:.c=.c.in)
CLEANFILES += stamp-enum-types
DISTCLEANFILES += $(glib_enum_h) $(glib_enum_c)
BUILT_SOURCES += $(glib_enum_h) $(glib_enum_c)
EXTRA_DIST += $(srcdir)/$(enum_tmpl_h) $(srcdir)/$(enum_tmpl_c)
stamp-enum-types: $(glib_enum_headers) $(srcdir)/$(enum_tmpl_h)
$(AM_V_GEN) $(GLIB_MKENUMS) \
--template $(srcdir)/$(enum_tmpl_h) \
$(glib_enum_headers) > xgen-eh \
&& (cmp -s xgen-eh $(glib_enum_h) || cp -f xgen-eh $(glib_enum_h)) \
&& rm -f xgen-eh \
&& echo timestamp > $(@F)
$(glib_enum_h): stamp-enum-types
@true
$(glib_enum_c): $(glib_enum_h) $(srcdir)/$(enum_tmpl_c)
$(AM_V_GEN) $(GLIB_MKENUMS) \
--template $(srcdir)/$(enum_tmpl_c) \
$(glib_enum_headers) > xgen-ec \
&& cp -f xgen-ec $(glib_enum_c) \
&& rm -f xgen-ec
# Rules for generating marshal files using glib-genmarshal
#
# Define:
# glib_marshal_list = marshal list file
# glib_marshal_prefix = prefix for marshal functions
#
# before including Makefile.am.marshal. You will also need to have
# the following targets already defined:
#
# CLEANFILES
# DISTCLEANFILES
# BUILT_SOURCES
# EXTRA_DIST
#
# Author: Emmanuele Bassi <ebassi@linux.intel.com>
marshal_h = $(glib_marshal_list:.list=.h)
marshal_c = $(glib_marshal_list:.list=.c)
CLEANFILES += stamp-marshal
DISTCLEANFILES += $(marshal_h) $(marshal_c)
BUILT_SOURCES += $(marshal_h) $(marshal_c)
EXTRA_DIST += $(srcdir)/$(glib_marshal_list)
stamp-marshal: $(glib_marshal_list)
$(AM_V_GEN)$(GLIB_GENMARSHAL) \
--prefix=$(glib_marshal_prefix) \
--header \
$(srcdir)/$(glib_marshal_list) > xgen-mh \
&& (cmp -s xgen-mh $(marshal_h) || cp -f xgen-mh $(marshal_h)) \
&& rm -f xgen-mh \
&& echo timestamp > $(@F)
$(marshal_h): stamp-marshal
@true
$(marshal_c): $(marshal_h)
$(AM_V_GEN)(echo "#include \"$(marshal_h)\"" ; \
$(GLIB_GENMARSHAL) \
--prefix=$(glib_marshal_prefix) \
--body \
$(srcdir)/$(glib_marshal_list)) > xgen-mc \
&& cp xgen-mc $(marshal_c) \
&& rm -f xgen-mc
This diff is collapsed.
../champlain-gtk/gtk-champlain-embed.h
../champlain-gtk/champlain-gtk.h
../champlain-gtk/gtk-champlain-embed.c
/home/marcus/Projects/libshumate/build/champlain-gtk/champlain-gtk-marshal.c
/home/marcus/Projects/libshumate/build/champlain-gtk/champlain-gtk-marshal.h
/home/marcus/Projects/libshumate/build/champlain-gtk/champlain-gtk-enum-types.c
/home/marcus/Projects/libshumate/build/champlain-gtk/champlain-gtk-enum-types.h
/* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */
#include "champlain-gtk-enum-types.h"
#include "gtk-champlain-embed.h"
#include "champlain-gtk.h"
#define C_ENUM(v) ((gint) v)
#define C_FLAGS(v) ((guint) v)
/* Generated data ends here */
/* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */
#pragma once
#include <glib-object.h>
G_BEGIN_DECLS
G_END_DECLS
/* Generated data ends here */
/* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */
#include "champlain-gtk-marshal.h"
#include <glib-object.h>
#ifdef G_ENABLE_DEBUG
#define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
#define g_marshal_value_peek_char(v) g_value_get_schar (v)
#define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
#define g_marshal_value_peek_int(v) g_value_get_int (v)
#define g_marshal_value_peek_uint(v) g_value_get_uint (v)
#define g_marshal_value_peek_long(v) g_value_get_long (v)
#define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
#define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
#define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
#define g_marshal_value_peek_enum(v) g_value_get_enum (v)
#define g_marshal_value_peek_flags(v) g_value_get_flags (v)
#define g_marshal_value_peek_float(v) g_value_get_float (v)
#define g_marshal_value_peek_double(v) g_value_get_double (v)
#define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
#define g_marshal_value_peek_param(v) g_value_get_param (v)
#define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
#define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
#define g_marshal_value_peek_object(v) g_value_get_object (v)
#define g_marshal_value_peek_variant(v) g_value_get_variant (v)
#else /* !G_ENABLE_DEBUG */
/* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
* Do not access GValues directly in your code. Instead, use the
* g_value_get_*() functions
*/
#define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
#define g_marshal_value_peek_char(v) (v)->data[0].v_int
#define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
#define g_marshal_value_peek_int(v) (v)->data[0].v_int
#define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
#define g_marshal_value_peek_long(v) (v)->data[0].v_long
#define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
#define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
#define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
#define g_marshal_value_peek_enum(v) (v)->data[0].v_long
#define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
#define g_marshal_value_peek_float(v) (v)->data[0].v_float
#define g_marshal_value_peek_double(v) (v)->data[0].v_double
#define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
#define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
#define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
#define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
#define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
#define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
#endif /* !G_ENABLE_DEBUG */
/* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */
#pragma once
#include <glib-object.h>
G_BEGIN_DECLS
G_END_DECLS
../champlain/champlain.h
../champlain/champlain-defines.h
../champlain/champlain-point.h
../champlain/champlain-custom-marker.h
../champlain/champlain-view.h
../champlain/champlain-layer.h
../champlain/champlain-marker-layer.h
../champlain/champlain-path-layer.h
../champlain/champlain-location.h
../champlain/champlain-coordinate.h
../champlain/champlain-marker.h
../champlain/champlain-label.h
../champlain/champlain-scale.h
../champlain/champlain-license.h
../champlain/champlain-tile.h
../champlain/champlain-map-source.h
../champlain/champlain-map-source-chain.h
../champlain/champlain-tile-source.h
../champlain/champlain-tile-cache.h
../champlain/champlain-memory-cache.h
../champlain/champlain-network-tile-source.h
../champlain/champlain-file-cache.h
../champlain/champlain-map-source-factory.h
../champlain/champlain-map-source-desc.h
../champlain/champlain-renderer.h
../champlain/champlain-image-renderer.h
../champlain/champlain-error-tile-renderer.h
../champlain/champlain-file-tile-source.h
../champlain/champlain-null-tile-source.h
../champlain/champlain-network-bbox-tile-source.h
../champlain/champlain-adjustment.h
../champlain/champlain-kinetic-scroll-view.h
../champlain/champlain-viewport.h
../champlain/champlain-bounding-box.h
../champlain/champlain-exportable.h
champlain/champlain-version.h
/home/marcus/Projects/libshumate/build/champlain/champlain-enum-types.c
/home/marcus/Projects/libshumate/build/champlain/champlain-enum-types.h
/home/marcus/Projects/libshumate/build/champlain/champlain-marshal.c
/home/marcus/Projects/libshumate/build/champlain/champlain-marshal.h
../champlain/champlain-debug.c
../champlain/champlain-view.c
../champlain/champlain-layer.c
../champlain/champlain-marker-layer.c
../champlain/champlain-path-layer.c
../champlain/champlain-location.c
../champlain/champlain-coordinate.c
../champlain/champlain-marker.c
../champlain/champlain-label.c
../champlain/champlain-scale.c
../champlain/champlain-license.c
../champlain/champlain-tile.c
../champlain/champlain-map-source.c
../champlain/champlain-map-source-chain.c
../champlain/champlain-tile-source.c
../champlain/champlain-tile-cache.c
../champlain/champlain-memory-cache.c
../champlain/champlain-network-tile-source.c
../champlain/champlain-file-cache.c
../champlain/champlain-map-source-factory.c
../champlain/champlain-map-source-desc.c
../champlain/champlain-point.c
../champlain/champlain-custom-marker.c
../champlain/champlain-renderer.c
../champlain/champlain-image-renderer.c
../champlain/champlain-error-tile-renderer.c
../champlain/champlain-file-tile-source.c
../champlain/champlain-null-tile-source.c
../champlain/champlain-network-bbox-tile-source.c
../champlain/champlain-adjustment.c
../champlain/champlain-kinetic-scroll-view.c
../champlain/champlain-viewport.c
../champlain/champlain-bounding-box.c
../champlain/champlain-exportable.c
/* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */
#include "champlain-enum-types.h"
#include "champlain.h"
#include "champlain-defines.h"
#include "champlain-point.h"
#include "champlain-custom-marker.h"
#include "champlain-view.h"
#include "champlain-layer.h"
#include "champlain-marker-layer.h"
#include "champlain-path-layer.h"
#include "champlain-location.h"
#include "champlain-coordinate.h"
#include "champlain-marker.h"
#include "champlain-label.h"
#include "champlain-scale.h"
#include "champlain-license.h"
#include "champlain-tile.h"
#include "champlain-map-source.h"
#include "champlain-map-source-chain.h"
#include "champlain-tile-source.h"
#include "champlain-tile-cache.h"
#include "champlain-memory-cache.h"
#include "champlain-network-tile-source.h"
#include "champlain-file-cache.h"
#include "champlain-map-source-factory.h"
#include "champlain-map-source-desc.h"
#include "champlain-renderer.h"
#include "champlain-image-renderer.h"
#include "champlain-error-tile-renderer.h"
#include "champlain-file-tile-source.h"
#include "champlain-null-tile-source.h"
#include "champlain-network-bbox-tile-source.h"
#include "champlain-adjustment.h"
#include "champlain-kinetic-scroll-view.h"
#include "champlain-viewport.h"
#include "champlain-bounding-box.h"
#include "champlain-exportable.h"
#define C_ENUM(v) ((gint) v)
#define C_FLAGS(v) ((guint) v)
/* enumerations from "champlain-map-source.h" */
GType
champlain_map_projection_get_type (void)
{
static volatile gsize gtype_id = 0;
static const GEnumValue values[] = {
{ C_ENUM(CHAMPLAIN_MAP_PROJECTION_MERCATOR), "CHAMPLAIN_MAP_PROJECTION_MERCATOR", "mercator" },
{ 0, NULL, NULL }
};
if (g_once_init_enter (&gtype_id)) {
GType new_type = g_enum_register_static ("ChamplainMapProjection", values);
g_once_init_leave (&gtype_id, new_type);
}
return (GType) gtype_id;
}
/* enumerations from "champlain-marker-layer.h" */
GType
champlain_selection_mode_get_type (void)
{
static volatile gsize gtype_id = 0;
static const GEnumValue values[] = {
{ C_ENUM(CHAMPLAIN_SELECTION_NONE), "CHAMPLAIN_SELECTION_NONE", "none" },
{ C_ENUM(CHAMPLAIN_SELECTION_SINGLE), "CHAMPLAIN_SELECTION_SINGLE", "single" },
{ C_ENUM(CHAMPLAIN_SELECTION_MULTIPLE), "CHAMPLAIN_SELECTION_MULTIPLE", "multiple" },
{ 0, NULL, NULL }
};
if (g_once_init_enter (&gtype_id)) {
GType new_type = g_enum_register_static ("ChamplainSelectionMode", values);
g_once_init_leave (&gtype_id, new_type);
}
return (GType) gtype_id;
}
/* enumerations from "champlain-scale.h" */
GType
champlain_unit_get_type (void)
{
static volatile gsize gtype_id = 0;
static const GEnumValue values[] = {
{ C_ENUM(CHAMPLAIN_UNIT_KM), "CHAMPLAIN_UNIT_KM", "km" },
{ C_ENUM(CHAMPLAIN_UNIT_MILES), "CHAMPLAIN_UNIT_MILES", "miles" },
{ 0, NULL, NULL }
};
if (g_once_init_enter (&gtype_id)) {
GType new_type = g_enum_register_static ("ChamplainUnit", values);
g_once_init_leave (&gtype_id, new_type);
}
return (GType) gtype_id;
}
/* enumerations from "champlain-tile.h" */
GType
champlain_state_get_type (void)
{
static volatile gsize gtype_id = 0;
static const GEnumValue values[] = {
{ C_ENUM(CHAMPLAIN_STATE_NONE), "CHAMPLAIN_STATE_NONE", "none" },
{ C_ENUM(CHAMPLAIN_STATE_LOADING), "CHAMPLAIN_STATE_LOADING", "loading" },
{ C_ENUM(CHAMPLAIN_STATE_LOADED), "CHAMPLAIN_STATE_LOADED", "loaded" },
{ C_ENUM(CHAMPLAIN_STATE_DONE), "CHAMPLAIN_STATE_DONE", "done" },
{ 0, NULL, NULL }
};
if (g_once_init_enter (&gtype_id)) {
GType new_type = g_enum_register_static ("ChamplainState", values);
g_once_init_leave (&gtype_id, new_type);
}
return (GType) gtype_id;
}