From 356536f6b8b44bfcf13c644a26ecdd583465bc0f Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Sun, 11 Jul 2010 08:52:34 +0000 Subject: Add EvMappingList data struct instead of using a GList It just wraps the GList and adds reference counting --- (limited to 'libview/ev-view-presentation.c') diff --git a/libview/ev-view-presentation.c b/libview/ev-view-presentation.c index 459272c..0a11ce1 100644 --- a/libview/ev-view-presentation.c +++ b/libview/ev-view-presentation.c @@ -30,7 +30,6 @@ #include "ev-transition-animation.h" #include "ev-view-cursor.h" #include "ev-page-cache.h" -#include "ev-mapping.h" enum { PROP_0, @@ -749,12 +748,12 @@ ev_view_presentation_get_link_at_location (EvViewPresentation *pview, gdouble x, gdouble y) { - GdkRectangle page_area; - GList *link_mapping; - EvLink *link; - gdouble width, height; - gdouble new_x, new_y; - gdouble scale; + GdkRectangle page_area; + EvMappingList *link_mapping; + EvLink *link; + gdouble width, height; + gdouble new_x, new_y; + gdouble scale; if (!pview->page_cache) return NULL; -- cgit v0.9.1