diff options
-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; |