]> git.meshlink.io Git - catta/commitdiff
gobject: Fix avahi build with gobject-introspection
authorVincent Untz <vuntz@gnome.org>
Sat, 18 Sep 2010 15:36:54 +0000 (17:36 +0200)
committerLennart Poettering <lennart@poettering.net>
Sun, 19 Sep 2010 21:26:10 +0000 (23:26 +0200)
Hi Lennart,

Here's a patch to fix avahi to build with g-i 0.9.5 and later.

Cheers,

Vincent

--
Les gens heureux ne sont pas pressés.

avahi-gobject/AvahiCore-0.6.gir
configure.ac

index 8b25fc14d62a0b48a6f64cbfe917004db61fefd8..5d7f68ba0fcd12f4c7ab9833d062e39551d237f7 100644 (file)
@@ -1,10 +1,12 @@
 <?xml version="1.0"?>
-<repository version="1.0"
+<repository version="1.2"
             xmlns="http://www.gtk.org/introspection/core/1.0"
             xmlns:c="http://www.gtk.org/introspection/c/1.0"
             xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
   <namespace name="AvahiCore" version="0.6" shared-library="avahi-core">
-    <alias name="IfIndex" target="int" c:type="AvahiIfIndex"/>
+    <alias name="IfIndex" c:type="AvahiIfIndex">
+      <type name="gint" c:type="int"/>
+    </alias>
     <enumeration name="Protocol" c:type="AvahiProtocol">
       <member name="inet"
               value="0"
index f4a255f7059792aaf5db6e605e24905d5135fc83..7fafc98e33c808cba99ac4d5afd9e77e17188cac 100644 (file)
@@ -472,7 +472,7 @@ AM_CONDITIONAL(HAVE_GOBJECT, test "x$HAVE_GOBJECT" = "xyes")
 #
 # Introspection support.
 #
-GOBJECT_INTROSPECTION_CHECK([0.6.7])
+GOBJECT_INTROSPECTION_CHECK([0.9.5])
 
 #
 # Check for Qt 3