X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=libdocument%2Fev-document-links.c;h=d74804b020c69f2751bb901199ce7487e6fb8cfd;hb=3d3c4a5a08f1b8b536542735110c1376fb3e30bf;hp=c7170963ea67bb8fd7fb7a079c92e4adfc63e0fa;hpb=13a06349251874bd35d2f03c3fc93217cee749a2;p=evince.git diff --git a/libdocument/ev-document-links.c b/libdocument/ev-document-links.c index c7170963..d74804b0 100644 --- a/libdocument/ev-document-links.c +++ b/libdocument/ev-document-links.c @@ -25,24 +25,11 @@ #include "ev-document-links.h" -GType -ev_document_links_get_type (void) -{ - static GType type = 0; - - if (G_UNLIKELY (type == 0)) { - const GTypeInfo our_info = { - sizeof (EvDocumentLinksIface), - NULL, - NULL, - }; +EV_DEFINE_INTERFACE (EvDocumentLinks, ev_document_links, 0) - type = g_type_register_static (G_TYPE_INTERFACE, - "EvDocumentLinks", - &our_info, (GTypeFlags)0); - } - - return type; +static void +ev_document_links_class_init (EvDocumentLinksIface *klass) +{ } gboolean