From 34251b818cd5fe0c8814e6e042cb23f1080a0508 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Sat, 7 Sep 2013 15:51:27 +0200 Subject: [PATCH 1/6] Add missing static keywords to internal functions https://bugs.freedesktop.org/show_bug.cgi?id=69102 --- src/gclue-ipclient.c | 2 +- src/gclue-locator.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gclue-ipclient.c b/src/gclue-ipclient.c index 124d149..1ccac82 100644 --- a/src/gclue-ipclient.c +++ b/src/gclue-ipclient.c @@ -431,7 +431,7 @@ get_accuracy_from_json_location (JsonObject *object) } } -GClueLocationInfo * +static GClueLocationInfo * _gclue_ip_json_to_location (const char *json, GError **error) { diff --git a/src/gclue-locator.c b/src/gclue-locator.c index 93210e6..ccb30d6 100644 --- a/src/gclue-locator.c +++ b/src/gclue-locator.c @@ -156,7 +156,7 @@ gclue_locator_new (void) return g_object_new (GCLUE_TYPE_LOCATOR, NULL); } -void +static void gclue_locator_update_location (GClueLocator *locator, GClueLocationInfo *location) { @@ -186,7 +186,7 @@ update: g_object_notify (G_OBJECT (locator), "location"); } -void +static void on_ipclient_search_ready (GObject *source_object, GAsyncResult *res, gpointer user_data) @@ -210,7 +210,7 @@ on_ipclient_search_ready (GObject *source_object, g_object_unref (location); } -void +static void on_network_changed (GNetworkMonitor *monitor, gboolean available, gpointer user_data) -- 1.8.3.1