[nautilus/path-bar-templates-and-extensions: 6/8] toolbar: Free the binds on finalize
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/path-bar-templates-and-extensions: 6/8] toolbar: Free the binds on finalize
- Date: Thu, 19 Jul 2018 14:20:33 +0000 (UTC)
commit 0fcb4dfea67a255147b7726b1269ecba6c122398
Author: Carlos Soriano <csoriano redhat com>
Date: Thu Jul 19 16:07:13 2018 +0200
toolbar: Free the binds on finalize
src/nautilus-toolbar.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/nautilus-toolbar.c b/src/nautilus-toolbar.c
index dd5430c87..03dd73588 100644
--- a/src/nautilus-toolbar.c
+++ b/src/nautilus-toolbar.c
@@ -1084,6 +1084,8 @@ nautilus_toolbar_dispose (GObject *object)
g_clear_object (&self->forward_button_multi_press_gesture);
g_clear_object (&self->back_button_multi_press_gesture);
+ g_clear_pointer (&self->icon_binding, g_binding_unbind);
+ g_clear_pointer (&self->view_widget_binding, g_binding_unbind);
G_OBJECT_CLASS (nautilus_toolbar_parent_class)->dispose (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]