Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libdocument/ev-link-action.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2009-01-25 15:08:57 (GMT)
committer Christian Persch <chpe@src.gnome.org>2009-01-25 15:08:57 (GMT)
commit4912987303aefef0d02a45726b75e5fdae043982 (patch)
tree3856f1dc17d3c927436672171532942b997dfe2b /libdocument/ev-link-action.c
parentb2c387604ca233c9c70a0595a24d381ddfafd1d4 (diff)
Renamed from evince-backend.pc.in. Renamed library to libevdocument.la.
* configure.ac: * evince-document.pc.in: Renamed from evince-backend.pc.in. * libdocument/Makefile.am: Renamed library to libevdocument.la. * libview/Makefile.am: * shell/Makefile.am: * backend/*/Makefile.am: Adapt to changed library name. * libdocument/Makefile.am: * libview/Makefile.am: Change the installed headers path to match the directory names in SVN. * evince-document.h: * evince-view.h: Add single headers. Bug #568227. * libdocument/*.h: * libview/*.h: Add single headers guards. * libview/Makefile.am: * libdocument/Makefile.am: * backend/*/Makefile.am: * help/reference/Makefile.am: Define EVINCE_COMPILATION, so we can still include individual headers. * properties/Makefile.am: * properties/ev-properties-main.c: * properties/ev-properties-view.h: * thumbnailer/Makefile.am: * thumbnailer/evince-thumbnailer.c: Include only evince-document.h. * libdocument/Makefile.am: * libview/Makefile.am: Generate type builtins from all installed headers. * libdocument/ev-link-action.[ch]: * libdocument/ev-link-dest.[ch]: * libdocument/ev-transition-effect.[ch]: * libview/ev-view.[ch]: Remove handcoded type builtins. * libdocument/Makefile.am: * evince-document.h: Add ev-document-factory.h to the public headers. svn path=/trunk/; revision=3381
Diffstat (limited to 'libdocument/ev-link-action.c')
-rw-r--r--libdocument/ev-link-action.c22
1 files changed, 1 insertions, 21 deletions
diff --git a/libdocument/ev-link-action.c b/libdocument/ev-link-action.c
index 52eb9f4..982ab55 100644
--- a/libdocument/ev-link-action.c
+++ b/libdocument/ev-link-action.c
@@ -20,6 +20,7 @@
#include <config.h>
#include "ev-link-action.h"
+#include "ev-document-type-builtins.h"
enum {
PROP_0,
@@ -55,27 +56,6 @@ G_DEFINE_TYPE (EvLinkAction, ev_link_action, G_TYPE_OBJECT)
#define EV_LINK_ACTION_GET_PRIVATE(object) \
(G_TYPE_INSTANCE_GET_PRIVATE ((object), EV_TYPE_LINK_ACTION, EvLinkActionPrivate))
-GType
-ev_link_action_type_get_type (void)
-{
- static GType type = 0;
-
- if (G_UNLIKELY (type == 0)) {
- static const GEnumValue values[] = {
- { EV_LINK_ACTION_TYPE_GOTO_DEST, "EV_LINK_ACTION_TYPE_GOTO_DEST", "goto-dest" },
- { EV_LINK_ACTION_TYPE_GOTO_REMOTE, "EV_LINK_ACTION_TYPE_GOTO_REMOTE", "goto-remote" },
- { EV_LINK_ACTION_TYPE_LAUNCH, "EV_LINK_ACTION_TYPE_LAUNCH", "launch" },
- { EV_LINK_ACTION_TYPE_EXTERNAL_URI, "EV_LINK_ACTION_TYPE_EXTERNAL_URI", "external-uri"},
- { EV_LINK_ACTION_TYPE_NAMED, "EV_LINK_ACTION_TYPE_NAMED", "named"},
- { 0, NULL, NULL }
- };
-
- type = g_enum_register_static ("EvLinkActionType", values);
- }
-
- return type;
-}
-
EvLinkActionType
ev_link_action_get_action_type (EvLinkAction *self)
{