aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-05-13 00:57:11 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-05-13 00:57:11 -0500
commit7779a357b79937d6ed06eae2f7bbdce1162bcff5 (patch)
tree4f204688ff921864d7f768cffecbb14bcf211dc3
parent36c6842f3eb704a72b5931152eb71d399d5f4cb1 (diff)
downloadayatana-indicator-datetime-7779a357b79937d6ed06eae2f7bbdce1162bcff5.tar.gz
ayatana-indicator-datetime-7779a357b79937d6ed06eae2f7bbdce1162bcff5.tar.bz2
ayatana-indicator-datetime-7779a357b79937d6ed06eae2f7bbdce1162bcff5.zip
minor tweak to properties array initialization
-rw-r--r--src/timezone.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/timezone.c b/src/timezone.c
index 9e671ed..546a3e3 100644
--- a/src/timezone.c
+++ b/src/timezone.c
@@ -30,7 +30,7 @@ enum
PROP_LAST
};
-static GParamSpec * properties[PROP_LAST] = { 0 };
+static GParamSpec * properties[PROP_LAST] = { 0, };
static void
my_get_property (GObject * o,
@@ -70,8 +70,6 @@ indicator_datetime_timezone_class_init (IndicatorDatetimeTimezoneClass * klass)
klass->get_timezone = NULL;
- properties[PROP_0] = NULL;
-
properties[PROP_TIMEZONE] = g_param_spec_string ("timezone",
"Timezone",
"Timezone",