From b1606db839c83d40feef7968cb8afde91f9a2f95 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Fri, 25 Sep 2020 17:23:00 +0200 Subject: gtkscrolledwindow: Drop gtk_scrolled_window_set_capture_button_press() This API is kinda stuck in the GdkEvent days, we now negotiate ownership of the input sequence via GtkGestures. Remove it as it reflects a way to work that was not exactly accurate and it will turn plainly wrong soon. --- tests/testkineticscrolling.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'tests') diff --git a/tests/testkineticscrolling.c b/tests/testkineticscrolling.c index 1189cc9d14..e492e5135f 100644 --- a/tests/testkineticscrolling.c +++ b/tests/testkineticscrolling.c @@ -66,7 +66,6 @@ kinetic_scrolling (void) swindow = gtk_scrolled_window_new (); gtk_scrolled_window_set_kinetic_scrolling (GTK_SCROLLED_WINDOW (swindow), TRUE); - gtk_scrolled_window_set_capture_button_press (GTK_SCROLLED_WINDOW (swindow), TRUE); gtk_scrolled_window_set_child (GTK_SCROLLED_WINDOW (swindow), button_grid); gtk_grid_attach (GTK_GRID (grid), swindow, 0, 1, 1, 1); @@ -104,7 +103,6 @@ kinetic_scrolling (void) swindow = gtk_scrolled_window_new (); gtk_scrolled_window_set_kinetic_scrolling (GTK_SCROLLED_WINDOW (swindow), TRUE); - gtk_scrolled_window_set_capture_button_press (GTK_SCROLLED_WINDOW (swindow), TRUE); gtk_scrolled_window_set_child (GTK_SCROLLED_WINDOW (swindow), treeview); gtk_grid_attach (GTK_GRID (grid), swindow, 1, 1, 1, 1); @@ -114,7 +112,6 @@ kinetic_scrolling (void) textview = gtk_text_view_new (); swindow = gtk_scrolled_window_new (); gtk_scrolled_window_set_kinetic_scrolling (GTK_SCROLLED_WINDOW (swindow), TRUE); - gtk_scrolled_window_set_capture_button_press (GTK_SCROLLED_WINDOW (swindow), TRUE); gtk_scrolled_window_set_child (GTK_SCROLLED_WINDOW (swindow), textview); gtk_grid_attach (GTK_GRID (grid), swindow, 2, 1, 1, 1); -- cgit v1.2.1