poppler/Annot.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit de822554acdb1b2bc9e70c0668c43a10c0ec129a
Author: Albert Astals Cid <[EMAIL PROTECTED]>
Date:   Mon Sep 1 23:50:37 2008 +0200

    Initialize widget to null before calling initialize not after :-(

diff --git a/poppler/Annot.cc b/poppler/Annot.cc
index 7775f47..e4c394a 100644
--- a/poppler/Annot.cc
+++ b/poppler/Annot.cc
@@ -1806,8 +1806,8 @@ AnnotTextMarkup::~AnnotTextMarkup() {
 AnnotWidget::AnnotWidget(XRef *xrefA, Dict *dict, Catalog *catalog, Object 
*obj) :
     Annot(xrefA, dict, catalog, obj) {
   type = typeWidget;
-  initialize(xrefA, catalog, dict);
   widget = NULL;
+  initialize(xrefA, catalog, dict);
 }
 
 AnnotWidget::~AnnotWidget() {
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to