[vala] GIR parser: Handle module GModule in namespace GLib



commit 17baf0d6a32dc41efe222917f31f8c58ae829ab4
Author: Didier 'Ptitjes <ptitjes free fr>
Date:   Thu Apr 16 19:41:20 2009 +0200

    GIR parser: Handle module GModule in namespace GLib
    
    Signed-off-by: Didier 'Ptitjes <ptitjes free fr>
---
 vapigen/valagirparser.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/vapigen/valagirparser.vala b/vapigen/valagirparser.vala
index d4f82aa..13b4634 100644
--- a/vapigen/valagirparser.vala
+++ b/vapigen/valagirparser.vala
@@ -470,6 +470,8 @@ public class Vala.GirParser : CodeVisitor {
 			return "GLib";
 		} else if (gir_module_name == "Gio") {
 			return "GLib";
+		} else if (gir_module_name == "GModule") {
+			return "GLib";
 		}
 		return gir_module_name;
 	}



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