[geocode-glib] build: Specify main header in gir file



commit 848b9df9149d9408c53fb8c7d1808ae545c944fd
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Tue Mar 19 03:18:05 2013 +0200

    build: Specify main header in gir file
    
    This might not be important for gir itself but vala requires this
    information.

 geocode-glib/Makefile.am |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/geocode-glib/Makefile.am b/geocode-glib/Makefile.am
index 39d2e51..6af610d 100644
--- a/geocode-glib/Makefile.am
+++ b/geocode-glib/Makefile.am
@@ -53,7 +53,11 @@ GeocodeGlib_1_0_gir_INCLUDES = GObject-2.0 Gio-2.0 Json-1.0 SoupGNOME-2.4
 GeocodeGlib_1_0_gir_PACKAGES = gobject-2.0 gmodule-2.0 glib-2.0 gio-2.0 libsoup-gnome-2.4 json-glib-1.0
 GeocodeGlib_1_0_gir_CFLAGS = -I$(top_srcdir)
 GeocodeGlib_1_0_gir_LIBS = libgeocode-glib.la
-GeocodeGlib_1_0_gir_SCANNERFLAGS = --symbol-prefix=geocode_ --identifier-prefix=Geocode 
--pkg-export=geocode-glib-1.0
+GeocodeGlib_1_0_gir_SCANNERFLAGS = \
+       --symbol-prefix=geocode_ \
+       --identifier-prefix=Geocode \
+       --pkg-export=geocode-glib-1.0 \
+       --c-include="geocode-glib/geocode-glib.h"
 GeocodeGlib_1_0_gir_FILES = $(introspection_files)
 INTROSPECTION_GIRS += GeocodeGlib-1.0.gir
 


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