aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/notifier.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/notifier.c b/src/notifier.c
index fc54e62..80db10d 100644
--- a/src/notifier.c
+++ b/src/notifier.c
@@ -264,8 +264,8 @@ my_dispose (GObject * o)
indicator_power_notifier_set_bus (self, NULL);
notification_clear (self);
- g_clear_pointer (&p->power_level_binding, g_binding_unbind);
- g_clear_pointer (&p->is_warning_binding, g_binding_unbind);
+ g_clear_object (&p->power_level_binding);
+ g_clear_object (&p->is_warning_binding);
g_clear_object (&p->dbus_battery);
indicator_power_notifier_set_battery (self, NULL);