break;
}
- if (!link) {
+ if (!link || strlen (ev_link_get_title (link)) <= 0) {
poppler_action_free (action);
+ if (link)
+ g_object_unref (link);
+
continue;
}
r.y2 = height - points->y1;
retval = poppler_page_get_text (poppler_page,
+#if 0
(PopplerSelectionStyle)style,
+#endif
&r);
g_object_unref (poppler_page);
retval = poppler_page_get_selection_region ((PopplerPage *)rc->data,
rc->scale,
+#if 0
(PopplerSelectionStyle)style,
+#endif
(PopplerRectangle *) points);
return retval;
}
points.y1 = 0.0;
poppler_page_get_size (poppler_page, &(points.x2), &(points.y2));
retval = poppler_page_get_selection_region (poppler_page, 1.0,
+#if 0
POPPLER_SELECTION_GLYPH,
+#endif
&points);
g_object_unref (poppler_page);