[evince] xps: Remove extra call to gxps_link_get_area()



commit 17e8e7f3fcd7ec14ba584fb1f36557fe5cab0c58
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Sun Feb 17 18:46:35 2013 +0100

    xps: Remove extra call to gxps_link_get_area()

 backend/xps/xps-document.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/backend/xps/xps-document.c b/backend/xps/xps-document.c
index 3cb5de9..f6a595c 100644
--- a/backend/xps/xps-document.c
+++ b/backend/xps/xps-document.c
@@ -424,7 +424,6 @@ xps_document_links_get_links (EvDocumentLinks *document_links,
                ev_link_mapping = g_new (EvMapping, 1);
                gxps_link_get_area (xps_link, &area);
                target = gxps_link_get_target (xps_link);
-               gxps_link_get_area (xps_link, &area);
                ev_link_mapping->data = ev_link_from_target (xps_document, target);
 
                ev_link_mapping->area.x1 = area.x;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]