diff options
author | charles kerr <charlesk@canonical.com> | 2016-01-01 16:17:52 -0600 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-08-28 10:17:14 +0200 |
commit | 46efcd909dc04f6474f275071aadf41e7547f6d8 (patch) | |
tree | ac27405aad452adbccdf25032ac71fa7c11af402 /src/notifier.c | |
parent | bdc03e1cddb8811651f22e0bb423bf3385cbc793 (diff) | |
download | ayatana-indicator-power-46efcd909dc04f6474f275071aadf41e7547f6d8.tar.gz ayatana-indicator-power-46efcd909dc04f6474f275071aadf41e7547f6d8.tar.bz2 ayatana-indicator-power-46efcd909dc04f6474f275071aadf41e7547f6d8.zip |
in Notifier's destructor, unref its SoundPlayer field
Diffstat (limited to 'src/notifier.c')
-rw-r--r-- | src/notifier.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/notifier.c b/src/notifier.c index 0907a14..d5e8b5d 100644 --- a/src/notifier.c +++ b/src/notifier.c @@ -406,6 +406,7 @@ my_dispose (GObject * o) priv_t * const p = get_priv (self); indicator_power_notifier_set_bus (self, NULL); + indicator_power_notifier_set_sound_player (self, NULL); notification_clear (self); indicator_power_notifier_set_battery (self, NULL); g_clear_object (&p->dbus_battery); |