glib/test-poppler-glib.cc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-)
New commits: commit 91a7605eb51144f2e7dea69aa9454fff47c49bd2 Author: Carlos Garcia Campos <[email protected]> Date: Fri Jul 9 11:42:56 2010 +0200 [glib] Fix build when GDK is enabled diff --git a/glib/test-poppler-glib.cc b/glib/test-poppler-glib.cc index 97a51cc..32b2d21 100644 --- a/glib/test-poppler-glib.cc +++ b/glib/test-poppler-glib.cc @@ -394,7 +394,6 @@ int main (int argc, char *argv[]) GList *list, *l; char *text; double duration; - PopplerRectangle area; gint num_images; gint num_forms; gint num_links; @@ -501,12 +500,7 @@ int main (int argc, char *argv[]) } poppler_page_free_link_mapping (list); - area.x1 = 0; - area.y1 = 0; - area.x2 = width; - area.y2 = height; - - text = poppler_page_get_text (page, POPPLER_SELECTION_GLYPH, &area); + text = poppler_page_get_text (page); if (text) { FILE *file = fopen ("dump.txt", "w"); _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
