diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2010-07-09 11:42:56 +0200 |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2010-07-09 11:42:56 +0200 |
commit | 91a7605eb51144f2e7dea69aa9454fff47c49bd2 (patch) | |
tree | 154770208d2e9481bc28fd741a58968a0d9397cc /glib | |
parent | 09e3e0e9c5134688c4ed2af5cd3a12aa2986474c (diff) |
[glib] Fix build when GDK is enabled
Diffstat (limited to 'glib')
-rw-r--r-- | glib/test-poppler-glib.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/glib/test-poppler-glib.cc b/glib/test-poppler-glib.cc index 97a51ccb..32b2d219 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"); |