From 3cd4eb0310a1ad9c49c22585f5fd0c9e00802c32 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 20 Aug 2018 04:18:28 +0200 Subject: 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. --- gtk/gtkwidgetprivate.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gtk/gtkwidgetprivate.h') 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, -- cgit v1.2.1