diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-05-29 17:10:46 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-05-29 17:10:46 +0000 |
commit | 7f65e5f96b545fe071b37256eb61770a7ee2f085 (patch) | |
tree | 1efed96fd471162df7d838b781ca79f018aabbe7 /gtk/gtkpasswordentry.c | |
parent | 5675d585f40adc407f7f0f56289654dc785b4610 (diff) | |
download | gtk+-7f65e5f96b545fe071b37256eb61770a7ee2f085.tar.gz |
Rename GtkGestureMultiPress to GtkGestureClick
The name just made it hard for people to find the
right gesture to use.
Diffstat (limited to 'gtk/gtkpasswordentry.c')
-rw-r--r-- | gtk/gtkpasswordentry.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkpasswordentry.c b/gtk/gtkpasswordentry.c index cc74bc167e..ddf31467ba 100644 --- a/gtk/gtkpasswordentry.c +++ b/gtk/gtkpasswordentry.c @@ -26,7 +26,7 @@ #include "gtkbindings.h" #include "gtktextprivate.h" #include "gtkeditable.h" -#include "gtkgesturemultipress.h" +#include "gtkgestureclick.h" #include "gtkbox.h" #include "gtkimage.h" #include "gtkcheckmenuitem.h" @@ -475,7 +475,7 @@ gtk_password_entry_set_show_peek_icon (GtkPasswordEntry *entry, gtk_widget_set_tooltip_text (priv->peek_icon, _("Show text")); gtk_widget_set_parent (priv->peek_icon, GTK_WIDGET (entry)); - press = gtk_gesture_multi_press_new (); + press = gtk_gesture_click_new (); g_signal_connect_swapped (press, "released", G_CALLBACK (gtk_password_entry_toggle_peek), entry); gtk_widget_add_controller (priv->peek_icon, GTK_EVENT_CONTROLLER (press)); |