[gtk/wip/matthiasc/shortcut-4: 21/139] assistant: Port bindings to use shortcuts
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/shortcut-4: 21/139] assistant: Port bindings to use shortcuts
- Date: Thu, 26 Mar 2020 02:38:36 +0000 (UTC)
commit a8902da4bc3c78a0336c2da42049e5edab51d4f5
Author: Benjamin Otte <otte redhat com>
Date: Sun Aug 5 04:20:58 2018 +0200
assistant: Port bindings to use shortcuts
gtk/gtkassistant.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c
index 4161e2d1b4..b0b46c1dd2 100644
--- a/gtk/gtkassistant.c
+++ b/gtk/gtkassistant.c
@@ -65,7 +65,6 @@
#include "gtkassistant.h"
-#include "gtkbindings.h"
#include "gtkbox.h"
#include "gtkbuildable.h"
#include "gtkbutton.h"
@@ -510,7 +509,6 @@ gtk_assistant_class_init (GtkAssistantClass *class)
GtkWidgetClass *widget_class;
GtkContainerClass *container_class;
GtkWindowClass *window_class;
- GtkBindingSet *binding_set;
gobject_class = (GObjectClass *) class;
widget_class = (GtkWidgetClass *) class;
@@ -619,8 +617,10 @@ gtk_assistant_class_init (GtkAssistantClass *class)
NULL,
G_TYPE_NONE, 0);
- binding_set = gtk_binding_set_by_class (class);
- gtk_binding_entry_add_signal (binding_set, GDK_KEY_Escape, 0, "escape", 0);
+ gtk_widget_class_add_binding_signal (widget_class,
+ GDK_KEY_Escape, 0,
+ "escape",
+ NULL);
/**
* GtkAssistant:use-header-bar:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]