[geocode-glib] lib: Fix introspection warnings
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geocode-glib] lib: Fix introspection warnings
- Date: Wed, 12 Jun 2013 16:12:27 +0000 (UTC)
commit 4ae6281497f9212090f24dff39ffa7589b18e1cc
Author: Bastien Nocera <hadess hadess net>
Date: Wed Jun 12 18:09:32 2013 +0200
lib: Fix introspection warnings
geocode-glib/geocode-glib-private.h:43: syntax error, unexpected identifier in 'GFile
*_get_resolve_query_for_params (GHashTable *orig_ht,' at 'GFile'
geocode-glib/geocode-glib-private.h:44: syntax error, unexpected typedef-name, expecting identifier or
'(' or '*' in ' gboolean reverse);' at 'gboolean'
geocode-glib/geocode-glib-private.h:50: syntax error, unexpected '*', expecting ')' or ',' in 'char
*_geocode_glib_cache_path_for_query (GFile *query);' at '*'
geocode-glib/geocode-glib-private.h:51: syntax error, unexpected '*', expecting ')' or ',' in 'gboolean
_geocode_glib_cache_save (GFile *query,' at '*'
geocode-glib/geocode-glib-private.h:52: syntax error, unexpected ')', expecting ',' or ';' in '
const char *contents);' at ')'
geocode-glib/geocode-glib-private.h:53: syntax error, unexpected '*', expecting ')' or ',' in 'gboolean
_geocode_glib_cache_load (GFile *query,' at '*'
geocode-glib/geocode-glib-private.h:54: syntax error, unexpected ')', expecting ',' or ';' in ' char
**contents);' at ')'
geocode-glib-private.h:31: Warning: GeocodeGlib: symbol='YAHOO_APPID': Unknown namespace for symbol
'YAHOO_APPID'
geocode-glib-private.h:32: Warning: GeocodeGlib: symbol='DEFAULT_ANSWER_COUNT': Unknown namespace for
symbol 'DEFAULT_ANSWER_COUNT'
geocode-glib/Makefile.am | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/geocode-glib/Makefile.am b/geocode-glib/Makefile.am
index b7c3458..dbcfbcc 100644
--- a/geocode-glib/Makefile.am
+++ b/geocode-glib/Makefile.am
@@ -8,7 +8,7 @@ BUILT_GIRSOURCES =
lib_LTLIBRARIES = libgeocode-glib.la
-libgeocode_glib_la_SOURCES = \
+libgeocode_glib_la_PUBLICSOURCES = \
geocode-location.c \
geocode-forward.c \
geocode-reverse.c \
@@ -16,9 +16,12 @@ libgeocode_glib_la_SOURCES = \
geocode-error.c \
geocode-ipclient.c \
geocode-enum-types.c \
- geocode-glib-private.h \
geocode-place.c
+libgeocode_glib_la_SOURCES = \
+ $(libgeocode_glib_la_PUBLICSOURCES) \
+ geocode-glib-private.h
+
libgeocode_glib_la_LIBADD = $(GEOCODE_LIBS) $(LIBS)
libgeocode_glib_la_LDFLAGS = \
@@ -71,7 +74,7 @@ INTROSPECTION_COMPILER_ARGS = --includedir=$(top_srcdir)
CLEANFILES =
if HAVE_INTROSPECTION
-introspection_files = $(libgeocode_glib_la_SOURCES) $(gcglib_HEADERS)
+introspection_files = $(libgeocode_glib_la_PUBLICSOURCES) $(gcglib_HEADERS)
GeocodeGlib-1.0.gir: libgeocode-glib.la
GeocodeGlib_1_0_gir_INCLUDES = GObject-2.0 Gio-2.0 Json-1.0 SoupGNOME-2.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]