summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2010-09-18 17:36:54 +0200
committerLennart Poettering <lennart@poettering.net>2010-09-19 23:26:10 +0200
commit7b124f6ae362a575460d2374dca39ebdce07c714 (patch)
tree4f9b3378486a960fce2adfda69f9b75767cdd49a
parent74e9d0b1f21cefb6880d006bed1769ceaf90b28b (diff)
gobject: Fix avahi build with gobject-introspection
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.
-rw-r--r--avahi-gobject/AvahiCore-0.6.gir6
-rw-r--r--configure.ac2
2 files changed, 5 insertions, 3 deletions
diff --git a/avahi-gobject/AvahiCore-0.6.gir b/avahi-gobject/AvahiCore-0.6.gir
index 8b25fc1..5d7f68b 100644
--- a/avahi-gobject/AvahiCore-0.6.gir
+++ b/avahi-gobject/AvahiCore-0.6.gir
@@ -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"
diff --git a/configure.ac b/configure.ac
index f4a255f..7fafc98 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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