From 39ee0da7cde59019340f5be8fdb85425248c4547 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Sat, 27 Dec 2008 18:36:46 +0000 Subject: [PATCH] Add GObject type as prerequisite to EvDocument interface so that document 2008-12-24 Carlos Garcia Campos * 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 --- ChangeLog | 7 +++++++ libdocument/ev-document.c | 2 ++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3bdbea16..02f90be0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-12-24 Carlos Garcia Campos + + * 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 * shell/ev-view.c: (jump_to_find_result): diff --git a/libdocument/ev-document.c b/libdocument/ev-document.c index 1171509a..e23d55eb 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; -- 2.43.5