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=e2796d0d1a833e63c9495193c9241bd718f68082;hp=db90bb886380b9600135a1d3e9dc0d9ab9123d55;hpb=1af6600934d1f723e5b492b8322e52a1144fb0af;p=evince.git diff --git a/libdocument/ev-document-forms.c b/libdocument/ev-document-forms.c index db90bb88..6d702a3f 100644 --- a/libdocument/ev-document-forms.c +++ b/libdocument/ev-document-forms.c @@ -21,29 +21,16 @@ #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 * ev_document_forms_get_form_fields (EvDocumentForms *document_forms, - gint page) + EvPage *page) { EvDocumentFormsIface *iface = EV_DOCUMENT_FORMS_GET_IFACE (document_forms);