diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-07-24 15:15:09 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-07-24 15:15:09 -0500 |
commit | 11784e2e354b5538b6fbccd9df1e6259c9ebc6f0 (patch) | |
tree | 2689305d8de0a27eabaffe4cbf3937edba54a535 | |
parent | f4e1a83d20cad3afa6dd51a4a520ef21ccaff5cd (diff) | |
download | ayatana-indicator-power-11784e2e354b5538b6fbccd9df1e6259c9ebc6f0.tar.gz ayatana-indicator-power-11784e2e354b5538b6fbccd9df1e6259c9ebc6f0.tar.bz2 ayatana-indicator-power-11784e2e354b5538b6fbccd9df1e6259c9ebc6f0.zip |
don't set to zero fields in a struct that's been calloc()ed already.
-rw-r--r-- | src/notifier.c | 2 |
1 files changed, 0 insertions, 2 deletions
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", |