[gnome-games] [libgames-support] Use a stand-in GIR for GGZ instead of introspecting GGZ within our namespace



commit 55a5327d7d093d3ce17dc84976523f7e659cf262
Author: Tim Horton <hortont424 gmail com>
Date:   Thu Jul 9 14:11:51 2009 -0400

    [libgames-support] Use a stand-in GIR for GGZ instead of introspecting GGZ within our namespace

 .gitignore                   |    1 -
 libgames-support/GGZ-1.0.gir |   10 ++++++++++
 libgames-support/Makefile.am |    3 ++-
 3 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f7c9317..7471d75 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,7 +7,6 @@
 *.desktop.in
 *.desktop
 *.schemas
-*.gir
 *.typelib
 
 #
diff --git a/libgames-support/GGZ-1.0.gir b/libgames-support/GGZ-1.0.gir
new file mode 100644
index 0000000..0e5429d
--- /dev/null
+++ b/libgames-support/GGZ-1.0.gir
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<repository version="1.0"
+            xmlns="http://www.gtk.org/introspection/core/1.0";
+            xmlns:c="http://www.gtk.org/introspection/c/1.0";>
+  <namespace name="GGZ" version="1.0">
+    <record name="Mod" c:type="GGZMod"/>
+    <record name="Seat" c:type="GGZSeat"/>
+    <record name="SpectatorSeat" c:type="GGZSpectatorSeat"/>
+  </namespace>
+</repository>
diff --git a/libgames-support/Makefile.am b/libgames-support/Makefile.am
index f3b9415..67d229a 100644
--- a/libgames-support/Makefile.am
+++ b/libgames-support/Makefile.am
@@ -361,13 +361,14 @@ GnomeGamesSupport-1.0.gir: $(INTROSPECTION_SCANNER) libgames-support.la
 	--include=Clutter-$(CLUTTER_API_VERSION) \
 	--include=Cogl-$(CLUTTER_API_VERSION) \
 	--include=Gtk-2.0 \
+	--include=GGZ-1.0 \
 	--library=games-support \
 	--output $@ \
 	--pkg gobject-2.0 \
 	--pkg gtk+-2.0 \
 	--pkg clutter-$(CLUTTER_API_VERSION) \
 	--pkg cogl-$(CLUTTER_API_VERSION) \
-	$(libgames_support_la_SOURCES) /usr/include/ggz*.h
+	$(libgames_support_la_SOURCES)
 
 BUILT_GIRSOURCES += GnomeGamesSupport-1.0.gir
 



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