aboutsummaryrefslogtreecommitdiff
path: root/src/datetime-service.c
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-02-08 11:11:44 -0500
committerKen VanDine <ken.vandine@canonical.com>2011-02-08 11:11:44 -0500
commit6d21d0788594cf217d2ca2711328306d686f6afa (patch)
tree0ca63a542f191da5beb112dcfb9d05aa9de792a7 /src/datetime-service.c
parentb0053ad9ed47043b4810446ee57ce76d648f7040 (diff)
parent21d4207e212d99af143f75b6544e3eb907bfde48 (diff)
downloadayatana-indicator-datetime-6d21d0788594cf217d2ca2711328306d686f6afa.tar.gz
ayatana-indicator-datetime-6d21d0788594cf217d2ca2711328306d686f6afa.tar.bz2
ayatana-indicator-datetime-6d21d0788594cf217d2ca2711328306d686f6afa.zip
releasing version 0.1.92-0ubuntu20.1.92-0ubuntu2
Diffstat (limited to 'src/datetime-service.c')
-rw-r--r--src/datetime-service.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/datetime-service.c b/src/datetime-service.c
index 9f795d1..7d35a38 100644
--- a/src/datetime-service.c
+++ b/src/datetime-service.c
@@ -512,6 +512,9 @@ geo_create_client (GeoclueMaster * master, GeoclueMasterClient * client, gchar *
g_debug("Created Geoclue client at: %s", path);
geo_master = client;
+
+ g_return_if_fail(geo_master != NULL);
+
g_object_ref(G_OBJECT(geo_master));
/* New client, make sure we don't have an address hanging on */