summaryrefslogtreecommitdiff
path: root/gtk/gtkwidget.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-08-24 07:34:23 +0200
committerMatthias Clasen <mclasen@redhat.com>2020-03-25 23:14:28 -0400
commit4c45410d4391f6caaf33be47239ce363834b50d0 (patch)
tree1a833918730ac0a953fc903a80da1e024ddbd6e2 /gtk/gtkwidget.h
parent8e9218df033fcef7ed2c1f7dcff78f5f346091dd (diff)
downloadgtk+-4c45410d4391f6caaf33be47239ce363834b50d0.tar.gz
widget: Remove gtk_widget_add_accelerator()
People should use shortcut controllers instead (global, capture). A side effect of this is that GtkAccelLabel now lost its method to magically look up accelerators to display. Somebody needs to add that back later.
Diffstat (limited to 'gtk/gtkwidget.h')
-rw-r--r--gtk/gtkwidget.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index 98d05f044d..d9becfab17 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -403,20 +403,6 @@ void gtk_widget_class_add_shortcut (GtkWidgetClass *widget_class,
GtkShortcut *shortcut);
GDK_AVAILABLE_IN_ALL
-void gtk_widget_add_accelerator (GtkWidget *widget,
- const gchar *accel_signal,
- GtkAccelGroup *accel_group,
- guint accel_key,
- GdkModifierType accel_mods,
- GtkAccelFlags accel_flags);
-GDK_AVAILABLE_IN_ALL
-gboolean gtk_widget_remove_accelerator (GtkWidget *widget,
- GtkAccelGroup *accel_group,
- guint accel_key,
- GdkModifierType accel_mods);
-GDK_AVAILABLE_IN_ALL
-GList* gtk_widget_list_accel_closures (GtkWidget *widget);
-GDK_AVAILABLE_IN_ALL
gboolean gtk_widget_can_activate_accel (GtkWidget *widget,
guint signal_id);
GDK_AVAILABLE_IN_ALL