summaryrefslogtreecommitdiff
path: root/tests/testtreepos.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-05-29 17:10:46 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-05-29 17:10:46 +0000
commit7f65e5f96b545fe071b37256eb61770a7ee2f085 (patch)
tree1efed96fd471162df7d838b781ca79f018aabbe7 /tests/testtreepos.c
parent5675d585f40adc407f7f0f56289654dc785b4610 (diff)
downloadgtk+-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 'tests/testtreepos.c')
-rw-r--r--tests/testtreepos.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/testtreepos.c b/tests/testtreepos.c
index 00ea616bc0..39944a26b7 100644
--- a/tests/testtreepos.c
+++ b/tests/testtreepos.c
@@ -53,11 +53,11 @@ clicked_icon (GtkTreeView *tv,
}
static void
-release_event (GtkGestureMultiPress *gesture,
- guint n_press,
- gdouble x,
- gdouble y,
- GtkTreeView *tv)
+release_event (GtkGestureClick *gesture,
+ guint n_press,
+ gdouble x,
+ gdouble y,
+ GtkTreeView *tv)
{
GtkTreePath *path;
gint tx, ty;
@@ -129,7 +129,7 @@ int main (int argc, char *argv[])
gtk_tree_view_set_model (GTK_TREE_VIEW (tv), GTK_TREE_MODEL (store));
- 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, "released",