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/gtkimcontextwayland.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/gtkimcontextwayland.c')
-rw-r--r-- | gtk/gtkimcontextwayland.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/gtk/gtkimcontextwayland.c b/gtk/gtkimcontextwayland.c index 1955cc17e3..647f238d1c 100644 --- a/gtk/gtkimcontextwayland.c +++ b/gtk/gtkimcontextwayland.c @@ -482,11 +482,11 @@ gtk_im_context_wayland_finalize (GObject *object) } static void -pressed_cb (GtkGestureMultiPress *gesture, - gint n_press, - gdouble x, - gdouble y, - GtkIMContextWayland *context) +pressed_cb (GtkGestureClick *gesture, + gint n_press, + gdouble x, + gdouble y, + GtkIMContextWayland *context) { if (n_press == 1) { @@ -496,11 +496,11 @@ pressed_cb (GtkGestureMultiPress *gesture, } static void -released_cb (GtkGestureMultiPress *gesture, - gint n_press, - gdouble x, - gdouble y, - GtkIMContextWayland *context) +released_cb (GtkGestureClick *gesture, + gint n_press, + gdouble x, + gdouble y, + GtkIMContextWayland *context) { GtkIMContextWaylandGlobal *global; GtkInputHints hints; @@ -547,7 +547,7 @@ gtk_im_context_wayland_set_client_widget (GtkIMContext *context, { GtkGesture *gesture; - gesture = gtk_gesture_multi_press_new (); + gesture = gtk_gesture_click_new (); gtk_event_controller_set_propagation_phase (GTK_EVENT_CONTROLLER (gesture), GTK_PHASE_CAPTURE); g_signal_connect (gesture, "pressed", |