]> www.fi.muni.cz Git - evince.git/blobdiff - libdocument/ev-document-forms.c
svn path=/trunk/; revision=3469
[evince.git] / libdocument / ev-document-forms.c
index d5d9c7094361834862a515ee5d20d81dcb96be65..6d702a3fa74704e7311ecfa5248ae5961e5fbc8b 100644 (file)
 #include <config.h>
 #include "ev-document-forms.h"
 
-GType
-ev_document_forms_get_type (void)
-{
-       static GType type = 0;
-
-       if (G_UNLIKELY (type == 0)) {
-               const GTypeInfo our_info = {
-                       sizeof (EvDocumentFormsIface),
-                       NULL,
-                       NULL,
-               };
+EV_DEFINE_INTERFACE (EvDocumentForms, ev_document_forms, 0)
 
-               type = g_type_register_static (G_TYPE_INTERFACE,
-                                              "EvDocumentForms",
-                                              &our_info, (GTypeFlags)0);
-       }
-
-       return type;
+static void
+ev_document_forms_class_init (EvDocumentFormsIface *klass)
+{
 }
 
 GList *