[geocode-glib] ip-server: Rename if_db_updated() function
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geocode-glib] ip-server: Rename if_db_updated() function
- Date: Thu, 21 Mar 2013 07:58:47 +0000 (UTC)
commit b32ce93822b1c442c72d9e6d71e714e15ef53866
Author: Bastien Nocera <hadess hadess net>
Date: Wed Mar 6 11:48:47 2013 +0100
ip-server: Rename if_db_updated() function
geocode-glib/geocode-ip-server/geoip-update.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/geocode-glib/geocode-ip-server/geoip-update.c b/geocode-glib/geocode-ip-server/geoip-update.c
index 3337b94..bc002d3 100644
--- a/geocode-glib/geocode-ip-server/geoip-update.c
+++ b/geocode-glib/geocode-ip-server/geoip-update.c
@@ -17,12 +17,12 @@ static struct {
}
};
-/* if_db_updated function returns TRUE on success and FALSE on failure.
+/* local_db_needs_update function returns TRUE on success and FALSE on failure.
* It sets the parameter needs_update to TRUE if the local database needs
* to be updated.
*/
static gboolean
-if_db_updated (GFile *db, GFile *db_local, gboolean *needs_update, GError **error)
+local_db_needs_update (GFile *db, GFile *db_local, gboolean *needs_update, GError **error)
{
GFileInfo *db_info;
GFileInfo *db_local_info;
@@ -189,7 +189,7 @@ main (int argc, char **argv)
db_local = g_file_new_for_path (db_path);
g_free (db_path);
- if (if_db_updated (db_remote, db_local, &needs_update, &error) == FALSE) {
+ if (local_db_needs_update (db_remote, db_local, &needs_update, &error) == FALSE) {
g_print ("Could not update the database: %s\n", error->message);
g_error_free (error);
goto end_loop;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]