diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-02-21 21:55:05 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-02-21 21:55:05 -0500 |
commit | f8609efa2bd47b337e0c415fcfed01c2e24f62af (patch) | |
tree | 48efe34f7424310bdbb63451262c3461995a942f /tests/testoverlay.c | |
parent | 2e5ccce088a790b861e79b3f9c58e02630c8eca3 (diff) | |
download | gtk+-f8609efa2bd47b337e0c415fcfed01c2e24f62af.tar.gz |
testoverlay: Use gtk_widget_set_can_pick
Use gtk_widget_set_can_pick instead of the
overlay-specific api with the same purpose.
Diffstat (limited to 'tests/testoverlay.c')
-rw-r--r-- | tests/testoverlay.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |