Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backend
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2007-07-19 17:48:25 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2007-07-19 17:48:25 (GMT)
commitf00d7c5897477b0b2bfa7ff7229c443ebb81a855 (patch)
tree4913b9eead1d537684df450d8ca55ef7fe0b190e /backend
parent0606618980b8d31db5779ae35f5c4cf61a313da4 (diff)
Fix build with current poppler cvs head.
2007-07-19 Carlos Garcia Campos <carlosgc@gnome.org> * backend/pdf/ev-poppler.cc: (ev_form_field_from_poppler_field): * libdocument/ev-form-field.h: * shell/ev-view.c: (ev_view_form_field_text_create_widget): Fix build with current poppler cvs head. svn path=/trunk/; revision=2574
Diffstat (limited to 'backend')
-rw-r--r--backend/pdf/ev-poppler.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/backend/pdf/ev-poppler.cc b/backend/pdf/ev-poppler.cc
index 3b3fe2b..1c9f4ea 100644
--- a/backend/pdf/ev-poppler.cc
+++ b/backend/pdf/ev-poppler.cc
@@ -1829,9 +1829,6 @@ ev_form_field_from_poppler_field (PopplerFormField *poppler_field)
case POPPLER_FORM_TEXT_MULTILINE:
ev_text_type = EV_FORM_FIELD_TEXT_MULTILINE;
break;
- case POPPLER_FORM_TEXT_PASSWORD:
- ev_text_type = EV_FORM_FIELD_TEXT_PASSWORD;
- break;
case POPPLER_FORM_TEXT_FILE_SELECT:
ev_text_type = EV_FORM_FIELD_TEXT_FILE_SELECT;
break;
@@ -1843,6 +1840,7 @@ ev_form_field_from_poppler_field (PopplerFormField *poppler_field)
field_text->do_spell_check = poppler_form_field_text_do_spell_check (poppler_field);
field_text->do_scroll = poppler_form_field_text_do_scroll (poppler_field);
field_text->is_rich_text = poppler_form_field_text_is_rich_text (poppler_field);
+ field_text->is_password = poppler_form_field_text_is_password (poppler_field);
field_text->text = poppler_form_field_text_get_text (poppler_field);