aboutsummaryrefslogtreecommitdiff
path: root/src/datetime-service.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-08 22:20:23 -0600
committerTed Gould <ted@gould.cx>2011-02-08 22:20:23 -0600
commita2e3af0af0cb242500c84ff76df39b97e255d283 (patch)
treea1e4eabe18a4d3b2faa0a011995705cc6e53af19 /src/datetime-service.c
parentcd61d9f8a6fbb1fb245c8ddc1cc21208305b4b6d (diff)
parentab79902d9ea172709358b761bc4675da2f4bd6d3 (diff)
downloadayatana-indicator-datetime-a2e3af0af0cb242500c84ff76df39b97e255d283.tar.gz
ayatana-indicator-datetime-a2e3af0af0cb242500c84ff76df39b97e255d283.tar.bz2
ayatana-indicator-datetime-a2e3af0af0cb242500c84ff76df39b97e255d283.zip
Merging in U. Desktop
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 */