diff options
author | Carlos 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) |
commit | 39ee0da7cde59019340f5be8fdb85425248c4547 (patch) | |
tree | 831269d658e4f0ee859d371f37deb0685a2dec9f | |
parent | f3594fda36447b05b5c7d6cf68f12a03938daf6a (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
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | libdocument/ev-document.c | 2 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,10 @@ +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. + 2008-12-19 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (jump_to_find_result): 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; |