aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-03-01 21:17:49 -0600
committerCharles Kerr <charles.kerr@canonical.com>2012-03-01 21:17:49 -0600
commite2cd48965d699a4b3b246db1ae1dc3cb073901d8 (patch)
treedc6a351545302ca2bdf11bd5efcce0613ef3846b
parent176b64b57d0f19af418d88199bf593f96a5a12a7 (diff)
downloadayatana-indicator-datetime-e2cd48965d699a4b3b246db1ae1dc3cb073901d8.tar.gz
ayatana-indicator-datetime-e2cd48965d699a4b3b246db1ae1dc3cb073901d8.tar.bz2
ayatana-indicator-datetime-e2cd48965d699a4b3b246db1ae1dc3cb073901d8.zip
make the private fields 'conf' and 'gconf' static and init them to NULL
-rw-r--r--src/datetime-service.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/datetime-service.c b/src/datetime-service.c
index 4edd3e7..6cd2259 100644
--- a/src/datetime-service.c
+++ b/src/datetime-service.c
@@ -84,13 +84,13 @@ static DbusmenuMenuitem * geo_location = NULL;
static DbusmenuMenuitem * current_location = NULL;
//static DbusmenuMenuitem * ecal_location = NULL;
static DbusmenuMenuitem * add_appointment = NULL;
-static GList * appointments = NULL;
-static GList * dconflocations = NULL;
-static GList * comp_instances = NULL;
+static GList * appointments = NULL;
+static GList * dconflocations = NULL;
+static GList * comp_instances = NULL;
static gboolean updating_appointments = FALSE;
-static time_t start_time_appointments = (time_t) 0;
-GSettings *conf;
-GConfClient* gconf;
+static time_t start_time_appointments = (time_t) 0;
+static GSettings * conf = NULL;
+static GConfClient * gconf = NULL;
/* Geoclue trackers */