[gobject-introspection] Actually do something about fundamentals when parsing a .gir



commit 022bfc5a66038e43e87c2c22e033f236858dddeb
Author: Tomeu Vizoso <tomeu vizoso collabora co uk>
Date:   Mon Sep 27 11:52:55 2010 +0200

    Actually do something about fundamentals when parsing a .gir
    
    https://bugzilla.gnome.org/show_bug.cgi?id=630710

 girepository/girparser.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/girepository/girparser.c b/girepository/girparser.c
index a89aea2..8f8f6f4 100644
--- a/girepository/girparser.c
+++ b/girepository/girparser.c
@@ -1791,6 +1791,8 @@ start_class (GMarkupParseContext *context,
 
   iface->abstract = abstract && strcmp (abstract, "1") == 0;
 
+  if (fundamental)
+    iface->fundamental = TRUE;
   if (ref_func)
     iface->ref_func = g_strdup (ref_func);
   if (unref_func)



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