[yelp] yelp-docbook-document: Set state to PARSED when we're done parsing



commit 573c813ff9fcd4ee07efe2d5a1cb740eedd26a22
Author: Shaun McCance <shaunm gnome org>
Date:   Thu Jan 6 15:31:00 2011 -0500

    yelp-docbook-document: Set state to PARSED when we're done parsing

 libyelp/yelp-docbook-document.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libyelp/yelp-docbook-document.c b/libyelp/yelp-docbook-document.c
index b6a1d90..00d4cde 100644
--- a/libyelp/yelp-docbook-document.c
+++ b/libyelp/yelp-docbook-document.c
@@ -395,6 +395,8 @@ docbook_process (YelpDocbookDocument *docbook)
         goto done;
     }
 
+    priv->state = DOCBOOK_STATE_PARSED;
+
     priv->transform = yelp_transform_new (STYLESHEET);
     priv->chunk_ready =
         g_signal_connect (priv->transform, "chunk-ready",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]