Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libdocument/ev-document.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2008-12-27 18:36:46 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2008-12-27 18:36:46 (GMT)
commit39ee0da7cde59019340f5be8fdb85425248c4547 (patch)
tree831269d658e4f0ee859d371f37deb0685a2dec9f /libdocument/ev-document.c
parentf3594fda36447b05b5c7d6cf68f12a03938daf6a (diff)
Add GObject type as prerequisite to EvDocument interface so that document
2008-12-24 Carlos Garcia Campos <carlosgc@gnome.org> * libdocument/ev-document.c: (ev_document_get_type): Add GObject type as prerequisite to EvDocument interface so that document instances can be used as GObjects. svn path=/trunk/; revision=3304
Diffstat (limited to 'libdocument/ev-document.c')
-rw-r--r--libdocument/ev-document.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdocument/ev-document.c b/libdocument/ev-document.c
index 1171509..e23d55e 100644
--- a/libdocument/ev-document.c
+++ b/libdocument/ev-document.c
@@ -48,6 +48,8 @@ ev_document_get_type (void)
type = g_type_register_static (G_TYPE_INTERFACE,
"EvDocument",
&our_info, (GTypeFlags)0);
+
+ g_type_interface_add_prerequisite (type, G_TYPE_OBJECT);
}
return type;