From f8609efa2bd47b337e0c415fcfed01c2e24f62af Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 21 Feb 2019 21:55:05 -0500 Subject: [PATCH] testoverlay: Use gtk_widget_set_can_pick Use gtk_widget_set_can_pick instead of the overlay-specific api with the same purpose. --- tests/testoverlay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testoverlay.c b/tests/testoverlay.c index cee2f4344a..16835c06fe 100644 --- a/tests/testoverlay.c +++ b/tests/testoverlay.c @@ -459,7 +459,7 @@ test_input_stacking (void) vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 10); gtk_overlay_add_overlay (GTK_OVERLAY (overlay), vbox); - gtk_overlay_set_overlay_pass_through (GTK_OVERLAY (overlay), vbox, TRUE); + gtk_widget_set_can_pick (vbox, FALSE); gtk_widget_set_halign (vbox, GTK_ALIGN_CENTER); gtk_widget_set_valign (vbox, GTK_ALIGN_CENTER);