[gtk/overlay-cleanup] testoverlay: Use gtk_widget_set_can_pick
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/overlay-cleanup] testoverlay: Use gtk_widget_set_can_pick
- Date: Fri, 22 Feb 2019 02:59:03 +0000 (UTC)
commit f8609efa2bd47b337e0c415fcfed01c2e24f62af
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Feb 21 21:55:05 2019 -0500
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]