From: Carlos Garcia Campos Date: Sat, 27 Dec 2008 18:36:46 +0000 (+0000) Subject: Add GObject type as prerequisite to EvDocument interface so that document X-Git-Tag: EVINCE_2_25_4~25 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=39ee0da7cde59019340f5be8fdb85425248c4547;p=evince.git 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 --- 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;