aboutsummaryrefslogtreecommitdiff
path: root/src/timezone-geoclue.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-05-12 20:45:21 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-05-12 20:45:21 -0500
commite897e7aa9fb18fc83d177acab1dd18e0284429a6 (patch)
tree3d35968e29c56d934748cf6cdf18844bd66e484e /src/timezone-geoclue.c
parenta2c380c8f271486eb6dfeb82a46ca7a95aca85c5 (diff)
downloadayatana-indicator-datetime-e897e7aa9fb18fc83d177acab1dd18e0284429a6.tar.gz
ayatana-indicator-datetime-e897e7aa9fb18fc83d177acab1dd18e0284429a6.tar.bz2
ayatana-indicator-datetime-e897e7aa9fb18fc83d177acab1dd18e0284429a6.zip
minor documentation & #include cleanups to the timezone classes
Diffstat (limited to 'src/timezone-geoclue.c')
-rw-r--r--src/timezone-geoclue.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/timezone-geoclue.c b/src/timezone-geoclue.c
index 5271945..4c3c7d8 100644
--- a/src/timezone-geoclue.c
+++ b/src/timezone-geoclue.c
@@ -19,9 +19,6 @@
#include "config.h"
-#include <glib.h>
-#include <glib/gi18n-lib.h>
-
#include <geoclue/geoclue-master.h>
#include <geoclue/geoclue-master-client.h>
@@ -128,10 +125,6 @@ on_client_created (GeoclueMaster * master,
g_warning ("%s Unable to get timezone from GeoClue: %s", G_STRFUNC, error->message);
g_error_free (error);
}
- else if (client == NULL)
- {
- g_warning ("%s Unable to get timezone from GeoClue: %s", G_STRFUNC, error->message);
- }
else
{
IndicatorDatetimeTimezoneGeoclue * self = INDICATOR_DATETIME_TIMEZONE_GEOCLUE (gself);