[poppler] glib/poppler-page.cc
Carlos Garcia Campos
carlosgc at kemper.freedesktop.org
Tue Mar 11 14:31:16 PDT 2008
glib/poppler-page.cc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 4fdd254370ea6055e95c8ebee51b69e06c501714
Author: Carlos Garcia Campos <carlosgc at gnome.org>
Date: Tue Mar 11 22:31:00 2008 +0100
Fix build
diff --git a/glib/poppler-page.cc b/glib/poppler-page.cc
index 3f7479d..0f39133 100644
--- a/glib/poppler-page.cc
+++ b/glib/poppler-page.cc
@@ -1519,7 +1519,7 @@ poppler_page_get_annot_mapping (PopplerPage *page)
g_return_val_if_fail (POPPLER_IS_PAGE (page), NULL);
if (!page->annots)
- page->annots = page->page->getAnnots (document->doc->getCatalog ());
+ page->annots = page->page->getAnnots (page->document->doc->getCatalog ());
if (!page->annots)
return NULL;
@@ -1541,10 +1541,10 @@ poppler_page_get_annot_mapping (PopplerPage *page)
switch (annot->getType ())
{
case Annot::typeText:
- mapping->annot = poppler_annot_text_new (annot);
+ mapping->annot = _poppler_annot_text_new (annot);
break;
case Annot::typeFreeText:
- mapping->annot = poppler_annot_free_text_new (annot);
+ mapping->annot = _poppler_annot_free_text_new (annot);
break;
default:
mapping->annot = _poppler_annot_new (annot);
More information about the poppler
mailing list