testoverlay: Use gtk_widget_set_can_pick

Use gtk_widget_set_can_pick instead of the
overlay-specific api with the same purpose.
This commit is contained in:
Matthias Clasen 2019-02-21 21:55:05 -05:00
parent 2e5ccce088
commit f8609efa2b

View File

@ -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);