X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=libdocument%2Fev-document-forms.c;h=6d702a3fa74704e7311ecfa5248ae5961e5fbc8b;hb=0b6b3dff626d31a368ef9a95f8ed73b404eec9bf;hp=d5d9c7094361834862a515ee5d20d81dcb96be65;hpb=b8aebf2e1ba5b4f9ff1e1256b28acb3e23947c51;p=evince.git diff --git a/libdocument/ev-document-forms.c b/libdocument/ev-document-forms.c index d5d9c709..6d702a3f 100644 --- a/libdocument/ev-document-forms.c +++ b/libdocument/ev-document-forms.c @@ -21,24 +21,11 @@ #include #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 *