diff options
author | Benjamin Otte <otte@redhat.com> | 2018-04-09 14:45:04 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-04-09 20:20:55 +0200 |
commit | 78a9b5d1edfb6da871cb73cf493f871de3fb6769 (patch) | |
tree | 38ef748900856b2cf1200cbbfdb64b6797f7b309 /gtk/gtkentry.c | |
parent | d77ede508ca559e717a78c4b2ab3b4e4ab49ad1f (diff) | |
download | gtk+-78a9b5d1edfb6da871cb73cf493f871de3fb6769.tar.gz |
entry: Stop being activatable
Activating entries does not do anything.
Activate the default widget instead.
Diffstat (limited to 'gtk/gtkentry.c')
-rw-r--r-- | gtk/gtkentry.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index 098c5bd53a..d005011893 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -1448,11 +1448,6 @@ gtk_entry_class_init (GtkEntryClass *class) * The ::activate signal is emitted when the user hits * the Enter key. * - * While this signal is used as a - * [keybinding signal][GtkBindingSignal], - * it is also commonly used by applications to intercept - * activation of entries. - * * The default bindings for this signal are all forms of the Enter key. */ signals[ACTIVATE] = @@ -1463,7 +1458,6 @@ gtk_entry_class_init (GtkEntryClass *class) NULL, NULL, NULL, G_TYPE_NONE, 0); - widget_class->activate_signal = signals[ACTIVATE]; /** * GtkEntry::move-cursor: |