From 51f39c86f79fef81af296ee03d12a1883b7e015f Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Mon, 21 Jul 2014 17:27:49 -0500 Subject: in notifier.c, use g_clear_object to unref the GBindings --- src/notifier.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); -- cgit v1.2.3