[gobject-introspection] typelib compiler: Passthrough <doc> at any point



commit 4f68350184bc6a4b1e28e93a631ec7620f6af050
Author: Colin Walters <walters verbum org>
Date:   Tue Sep 14 12:31:58 2010 -0400

    typelib compiler: Passthrough <doc> at any point
    
    This should have been in the previous commit.

 girepository/girparser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/girepository/girparser.c b/girepository/girparser.c
index cff2305..a89aea2 100644
--- a/girepository/girparser.c
+++ b/girepository/girparser.c
@@ -2123,7 +2123,7 @@ start_doc (GMarkupParseContext *context,
 	   ParseContext       *ctx,
 	   GError             **error)
 {
-  if (strcmp (element_name, "doc") != 0 || ctx->node_stack == NULL)
+  if (strcmp (element_name, "doc") != 0)
     return FALSE;
 
   state_switch (ctx, STATE_DOC);



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