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

New commits:
commit 679a2da8206320d43a60e8f256a0a571350b5d94
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 2948621..e17e722 100644
--- a/poppler/Annot.cc
+++ b/poppler/Annot.cc
@@ -1710,8 +1710,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