]> www.fi.muni.cz Git - evince.git/blobdiff - backend/ev-document.c
Reduce relocations. Bug #360616.
[evince.git] / backend / ev-document.c
index 10f1d00e2800b64596e13121b15f1f286491a5fe..94647c6b571f82f5d1982f317e44051f91f8933a 100644 (file)
@@ -37,7 +37,7 @@ ev_document_get_type (void)
 
        if (G_UNLIKELY (type == 0))
        {
 
        if (G_UNLIKELY (type == 0))
        {
-               static const GTypeInfo our_info =
+               const GTypeInfo our_info =
                {
                        sizeof (EvDocumentIface),
                        NULL,
                {
                        sizeof (EvDocumentIface),
                        NULL,
@@ -185,21 +185,6 @@ ev_document_get_text (EvDocument  *document,
        return retval;
 }
 
        return retval;
 }
 
-GList *
-ev_document_get_links (EvDocument *document,
-                      int         page)
-{
-       EvDocumentIface *iface = EV_DOCUMENT_GET_IFACE (document);
-       GList *retval;
-
-       LOG ("ev_document_get_link");
-       if (iface->get_links == NULL)
-               return NULL;
-       retval = iface->get_links (document, page);
-
-       return retval;
-}
-
 gboolean
 ev_document_has_attachments (EvDocument *document)
 {
 gboolean
 ev_document_has_attachments (EvDocument *document)
 {