]> www.fi.muni.cz Git - evince.git/commitdiff
Add GObject type as prerequisite to EvDocument interface so that document
authorCarlos Garcia Campos <carlosgc@gnome.org>
Sat, 27 Dec 2008 18:36:46 +0000 (18:36 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Sat, 27 Dec 2008 18:36:46 +0000 (18:36 +0000)
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

ChangeLog
libdocument/ev-document.c

index 3bdbea16363fd4c285b5630ed726f2d79c2e780f..02f90be0f9a965af0db80d17572a7562de046ac6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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):
index 1171509a3587ec8c29d259671821079c73967bca..e23d55eb88e99ac020a33c5a30d2bd14582a9acf 100644 (file)
@@ -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;