[gnome-control-center] keyboard: Do now call `g_binding_unbind()` finalizing shortcut editor
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] keyboard: Do now call `g_binding_unbind()` finalizing shortcut editor
- Date: Tue, 12 Jan 2021 16:59:50 +0000 (UTC)
commit 621dd80ab0d7156dc9c392b9f916c6ecc16e5c71
Author: Ian Douglas Scott <idscott system76 com>
Date: Mon Jan 11 09:07:34 2021 -0800
keyboard: Do now call `g_binding_unbind()` finalizing shortcut editor
This errors and is unnecessary because the binding is removed when the
object bound is finalized.
panels/keyboard/cc-keyboard-shortcut-editor.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/panels/keyboard/cc-keyboard-shortcut-editor.c b/panels/keyboard/cc-keyboard-shortcut-editor.c
index 3afb28835..6b42763e3 100644
--- a/panels/keyboard/cc-keyboard-shortcut-editor.c
+++ b/panels/keyboard/cc-keyboard-shortcut-editor.c
@@ -616,7 +616,6 @@ cc_keyboard_shortcut_editor_finalize (GObject *object)
g_clear_object (&self->manager);
g_clear_pointer (&self->custom_combo, g_free);
- g_clear_pointer (&self->reset_item_binding, g_binding_unbind);
G_OBJECT_CLASS (cc_keyboard_shortcut_editor_parent_class)->finalize (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]