Commit a2306cb8 authored by Philip Withnall's avatar Philip Withnall Committed by Philip Withnall
Browse files

geocode-glib: Make some private functions static

These two functions are no longer needed in any files other than
geocode-nominatim.c, so they can be made private and removed from the
.symbols file.

https://bugzilla.gnome.org/show_bug.cgi?id=756311
parent 491dcd4f
......@@ -40,11 +40,6 @@ typedef enum {
GList *_geocode_parse_search_json (const char *contents,
GError **error);
void
_geocode_read_nominatim_attributes (JsonReader *reader,
GHashTable *ht);
GeocodePlace *
_geocode_create_place_from_attributes (GHashTable *ht);
char *_geocode_object_get_lang (void);
......
......@@ -36,8 +36,6 @@ geocode_reverse_set_backend
geocode_error_quark
geocode_error_get_type
_geocode_parse_search_json
_geocode_read_nominatim_attributes
_geocode_create_place_from_attributes
geocode_place_get_type
geocode_place_type_get_type
geocode_place_osm_type_get_type
......
......@@ -53,6 +53,9 @@ G_DEFINE_TYPE_WITH_CODE (GeocodeNominatim, geocode_nominatim, G_TYPE_OBJECT,
/******************************************************************************/
static void _geocode_read_nominatim_attributes (JsonReader *reader,
GHashTable *ht);
static struct {
const char *tp_attr;
const char *gc_attr; /* NULL to ignore */
......@@ -406,7 +409,7 @@ get_place_type_from_attributes (GHashTable *ht)
return place_type;
}
GeocodePlace *
static GeocodePlace *
_geocode_create_place_from_attributes (GHashTable *ht)
{
GeocodePlace *place;
......@@ -1015,7 +1018,7 @@ insert_bounding_box_element (GHashTable *ht,
}
}
void
static void
_geocode_read_nominatim_attributes (JsonReader *reader,
GHashTable *ht)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment