[gtk/shortcuts-rebased-again: 114/124] window: Use gtk_widget_class_add_binding_action
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/shortcuts-rebased-again: 114/124] window: Use gtk_widget_class_add_binding_action
- Date: Fri, 21 Jun 2019 03:26:44 +0000 (UTC)
commit c001e070378c74efa0ecc71dc9b72c8d40e89547
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jun 19 01:32:42 2019 +0000
window: Use gtk_widget_class_add_binding_action
Use gtk_widget_class_add_binding_action
for default.activate.
gtk/gtkwindow.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 957521522b..b0330c7583 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -1190,12 +1190,12 @@ gtk_window_class_init (GtkWindowClass *klass)
gtk_widget_class_add_binding_signal (widget_class, GDK_KEY_KP_Space, 0,
"activate-focus", NULL);
- gtk_widget_class_add_binding_signal (widget_class, GDK_KEY_Return, 0,
- "activate-default", NULL);
- gtk_widget_class_add_binding_signal (widget_class, GDK_KEY_ISO_Enter, 0,
- "activate-default", NULL);
- gtk_widget_class_add_binding_signal (widget_class, GDK_KEY_KP_Enter, 0,
- "activate-default", NULL);
+ gtk_widget_class_add_binding_action (widget_class, GDK_KEY_Return, 0,
+ "default.activate", NULL);
+ gtk_widget_class_add_binding_action (widget_class, GDK_KEY_ISO_Enter, 0,
+ "default.activate", NULL);
+ gtk_widget_class_add_binding_action (widget_class, GDK_KEY_KP_Enter, 0,
+ "default.activate", NULL);
gtk_widget_class_add_binding_signal (widget_class, GDK_KEY_I, GDK_CONTROL_MASK|GDK_SHIFT_MASK,
"enable-debugging", "(b)", FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]