summaryrefslogtreecommitdiff
path: root/tests/testoverlay.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2015-06-16 12:02:41 -0700
committerCosimo Cecchi <cosimoc@gnome.org>2015-06-17 11:48:37 -0700
commit9c7b0f0491d24d950387244fe5b4e750f11fa1e4 (patch)
tree5c81639a22dd26c9bdbfa3f73e9ca9914795a4f8 /tests/testoverlay.c
parent3b1b171be54dc45dc566595d6fe245f6742fa042 (diff)
downloadgtk+-9c7b0f0491d24d950387244fe5b4e750f11fa1e4.tar.gz
overlay: remove gtk_overlay_add_pass_through_overlay()
The API to access this functionality will be the setter we just added in the previous commit. https://bugzilla.gnome.org/show_bug.cgi?id=750568
Diffstat (limited to 'tests/testoverlay.c')
-rw-r--r--tests/testoverlay.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/testoverlay.c b/tests/testoverlay.c
index 2aab3f56a7..5f0ec47550 100644
--- a/tests/testoverlay.c
+++ b/tests/testoverlay.c
@@ -440,7 +440,8 @@ test_input_stacking (void)
}
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 10);
- gtk_overlay_add_pass_through_overlay (GTK_OVERLAY (overlay), vbox);
+ gtk_overlay_add_overlay (GTK_OVERLAY (overlay), vbox);
+ gtk_overlay_set_overlay_pass_through (GTK_OVERLAY (overlay), vbox, TRUE);
gtk_widget_set_halign (vbox, GTK_ALIGN_CENTER);
gtk_widget_set_valign (vbox, GTK_ALIGN_CENTER);