diff options
author | Benjamin Otte <otte@redhat.com> | 2018-08-20 04:18:28 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-03-25 23:14:27 -0400 |
commit | 3cd4eb0310a1ad9c49c22585f5fd0c9e00802c32 (patch) | |
tree | 6ba2f8c0cc95bbc7f770c07d9aea451efc606a4d /gtk/gtkwidgetprivate.h | |
parent | a1e9ae5259224a6ae51fc4fda6cb6e9741d7b0b3 (diff) | |
download | gtk+-3cd4eb0310a1ad9c49c22585f5fd0c9e00802c32.tar.gz |
widget: Keep keybindings as a GListStore
This way, we can use shortcut_controller_new_for_model() and avoid all
the special casing about run_class.
Diffstat (limited to 'gtk/gtkwidgetprivate.h')
-rw-r--r-- | gtk/gtkwidgetprivate.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/gtkwidgetprivate.h b/gtk/gtkwidgetprivate.h index efcf1b601f..4c3954c550 100644 --- a/gtk/gtkwidgetprivate.h +++ b/gtk/gtkwidgetprivate.h @@ -211,7 +211,7 @@ typedef struct struct _GtkWidgetClassPrivate { GtkWidgetTemplate *template; - GSList *shortcuts; + GListStore *shortcuts; GType accessible_type; AtkRole accessible_role; GQuark css_name; @@ -248,8 +248,6 @@ void _gtk_widget_add_attached_window (GtkWidget *widget, void _gtk_widget_remove_attached_window (GtkWidget *widget, GtkWindow *window); -const GSList * gtk_widget_class_get_shortcuts (GtkWidgetClass *widget_class); - AtkObject * _gtk_widget_peek_accessible (GtkWidget *widget); void _gtk_widget_set_has_default (GtkWidget *widget, |