[geocode-glib] geocode-nominatim: Add missing private struct getters



commit 8db590b5577703c95dc970615ae702b38763d830
Author: Philip Withnall <withnall endlessm com>
Date:   Tue Jan 17 17:00:28 2017 +0000

    geocode-nominatim: Add missing private struct getters

 geocode-glib/geocode-nominatim.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/geocode-glib/geocode-nominatim.c b/geocode-glib/geocode-nominatim.c
index 2b86eb2..47e2692 100644
--- a/geocode-glib/geocode-nominatim.c
+++ b/geocode-glib/geocode-nominatim.c
@@ -917,6 +917,9 @@ geocode_nominatim_query_async (GeocodeNominatim    *self,
        SoupSession *soup_session;
        SoupMessage *soup_query;
        char *cache_path;
+       GeocodeNominatimPrivate *priv;
+
+       priv = geocode_nominatim_get_instance_private (self);
 
        g_debug ("%s: uri = %s", G_STRFUNC, uri);
 
@@ -956,6 +959,9 @@ geocode_nominatim_query (GeocodeNominatim  *self,
        SoupSession *soup_session;
        SoupMessage *soup_query;
        char *contents;
+       GeocodeNominatimPrivate *priv;
+
+       priv = geocode_nominatim_get_instance_private (self);
 
        g_debug ("%s: uri = %s", G_STRFUNC, uri);
 


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