+2005-03-31 Kristian Høgsberg <krh@redhat.com>
+
+ * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
+ PopplerRectangle change from poppler CVS.
+
Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
* backend/ev-document.c: (ev_document_get_page_label):
link_mapping = (PopplerLinkMapping *)list->data;
ev_link_mapping = g_new (EvLinkMapping, 1);
ev_link_mapping->link = ev_link_from_action (link_mapping->action);
- ev_link_mapping->x1 = link_mapping->x1;
- ev_link_mapping->x2 = link_mapping->x2;
+ ev_link_mapping->x1 = link_mapping->area.x1;
+ ev_link_mapping->x2 = link_mapping->area.x2;
/* Invert this for X-style coordinates */
- ev_link_mapping->y1 = height - link_mapping->y2;
- ev_link_mapping->y2 = height - link_mapping->y1;
+ ev_link_mapping->y1 = height - link_mapping->area.y2;
+ ev_link_mapping->y2 = height - link_mapping->area.y1;
retval = g_list_prepend (retval, ev_link_mapping);
}