window: Deprecate the ::keys-changed signal

This commit is contained in:
Matthias Clasen 2022-12-09 13:14:06 -05:00
parent a9b387b37b
commit 40d54ad3eb

View File

@ -1094,11 +1094,14 @@ gtk_window_class_init (GtkWindowClass *klass)
*
* emitted when the set of accelerators or mnemonics that
* are associated with @window changes.
*
* Deprecated: 4.10: Use [class@Gtk.Shortcut] and [class@Gtk.EventController]
* to implement keyboard shortcuts
*/
window_signals[KEYS_CHANGED] =
g_signal_new (I_("keys-changed"),
G_TYPE_FROM_CLASS (gobject_class),
G_SIGNAL_RUN_FIRST,
G_SIGNAL_RUN_FIRST | G_SIGNAL_DEPRECATED,
G_STRUCT_OFFSET (GtkWindowClass, keys_changed),
NULL, NULL,
NULL,