summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Douglas Scott <idscott@system76.com>2021-01-11 09:07:34 -0800
committerIan Douglas Scott <idscott@system76.com>2021-01-11 15:19:36 -0800
commit621dd80ab0d7156dc9c392b9f916c6ecc16e5c71 (patch)
treec689b4a3ecd6af4b18a64cc1212cca3cb618e6e5
parent3fdb5f7ab217f9a35440509c219d8161ea0da427 (diff)
downloadgnome-control-center-621dd80ab0d7156dc9c392b9f916c6ecc16e5c71.tar.gz
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.
-rw-r--r--panels/keyboard/cc-keyboard-shortcut-editor.c1
1 files changed, 0 insertions, 1 deletions
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);
}