From 11784e2e354b5538b6fbccd9df1e6259c9ebc6f0 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 24 Jul 2014 15:15:09 -0500 Subject: don't set to zero fields in a struct that's been calloc()ed already. --- src/notifier.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/notifier.c b/src/notifier.c index 1986f8c..c091f73 100644 --- a/src/notifier.c +++ b/src/notifier.c @@ -334,8 +334,6 @@ indicator_power_notifier_class_init (IndicatorPowerNotifierClass * klass) g_type_class_add_private (klass, sizeof (IndicatorPowerNotifierPrivate)); - properties[PROP_0] = NULL; - properties[PROP_BATTERY] = g_param_spec_object ( PROP_BATTERY_NAME, "Battery", -- cgit v1.2.3