diff options
author | Benjamin Otte <otte@redhat.com> | 2017-08-02 16:58:17 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2017-08-02 16:58:17 +0100 |
commit | 77c9ef1b7b110f02f9984d05a832ac2180a18100 (patch) | |
tree | 2590824bf4b3d8c759ad535c40178009ab19f3ff /testsuite | |
parent | 212c46e20ae2f2f2fef42749e5013a3a06cd5fc3 (diff) | |
download | gtk+-77c9ef1b7b110f02f9984d05a832ac2180a18100.tar.gz |
testsuite: Don't use GtkEventBox in gestures test
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/gtk/gestures.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/testsuite/gtk/gestures.c b/testsuite/gtk/gestures.c index c40c5ab394..4298c84156 100644 --- a/testsuite/gtk/gestures.c +++ b/testsuite/gtk/gestures.c @@ -383,7 +383,7 @@ test_phases (void) gtk_widget_set_name (A, "A"); B = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); gtk_widget_set_name (B, "B"); - C = gtk_event_box_new (); + C = gtk_image_new (); gtk_widget_set_hexpand (C, TRUE); gtk_widget_set_vexpand (C, TRUE); gtk_widget_set_name (C, "C"); @@ -435,7 +435,7 @@ test_mixed (void) gtk_widget_set_name (A, "A"); B = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); gtk_widget_set_name (B, "B"); - C = gtk_event_box_new (); + C = gtk_image_new (); gtk_widget_set_hexpand (C, TRUE); gtk_widget_set_vexpand (C, TRUE); gtk_widget_set_name (C, "C"); @@ -494,7 +494,7 @@ test_early_exit (void) gtk_widget_set_name (A, "A"); B = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); gtk_widget_set_name (B, "B"); - C = gtk_event_box_new (); + C = gtk_image_new (); gtk_widget_set_hexpand (C, TRUE); gtk_widget_set_vexpand (C, TRUE); gtk_widget_set_name (C, "C"); @@ -548,7 +548,7 @@ test_claim_capture (void) gtk_widget_set_name (A, "A"); B = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); gtk_widget_set_name (B, "B"); - C = gtk_event_box_new (); + C = gtk_image_new (); gtk_widget_set_hexpand (C, TRUE); gtk_widget_set_vexpand (C, TRUE); gtk_widget_set_name (C, "C"); @@ -595,7 +595,7 @@ test_claim_target (void) gtk_widget_set_name (A, "A"); B = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); gtk_widget_set_name (B, "B"); - C = gtk_event_box_new (); + C = gtk_image_new (); gtk_widget_set_hexpand (C, TRUE); gtk_widget_set_vexpand (C, TRUE); gtk_widget_set_name (C, "C"); @@ -642,7 +642,7 @@ test_claim_bubble (void) gtk_widget_set_name (A, "A"); B = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); gtk_widget_set_name (B, "B"); - C = gtk_event_box_new (); + C = gtk_image_new (); gtk_widget_set_hexpand (C, TRUE); gtk_widget_set_vexpand (C, TRUE); gtk_widget_set_name (C, "C"); @@ -696,7 +696,7 @@ test_early_claim_capture (void) gtk_widget_set_name (A, "A"); B = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); gtk_widget_set_name (B, "B"); - C = gtk_event_box_new (); + C = gtk_image_new (); gtk_widget_set_hexpand (C, TRUE); gtk_widget_set_vexpand (C, TRUE); gtk_widget_set_name (C, "C"); @@ -753,7 +753,7 @@ test_late_claim_capture (void) gtk_widget_set_name (A, "A"); B = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); gtk_widget_set_name (B, "B"); - C = gtk_event_box_new (); + C = gtk_image_new (); gtk_widget_set_hexpand (C, TRUE); gtk_widget_set_vexpand (C, TRUE); gtk_widget_set_name (C, "C"); @@ -812,7 +812,7 @@ test_group (void) gtk_widget_set_name (A, "A"); B = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); gtk_widget_set_name (B, "B"); - C = gtk_event_box_new (); + C = gtk_image_new (); gtk_widget_set_hexpand (C, TRUE); gtk_widget_set_vexpand (C, TRUE); gtk_widget_set_name (C, "C"); @@ -865,7 +865,7 @@ test_gestures_outside_grab (void) gtk_widget_set_name (A, "A"); B = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); gtk_widget_set_name (B, "B"); - C = gtk_event_box_new (); + C = gtk_image_new (); gtk_widget_set_hexpand (C, TRUE); gtk_widget_set_vexpand (C, TRUE); gtk_widget_set_name (C, "C"); @@ -925,7 +925,7 @@ test_gestures_inside_grab (void) gtk_widget_set_name (A, "A"); B = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); gtk_widget_set_name (B, "B"); - C = gtk_event_box_new (); + C = gtk_image_new (); gtk_widget_set_hexpand (C, TRUE); gtk_widget_set_vexpand (C, TRUE); gtk_widget_set_name (C, "C"); @@ -986,7 +986,7 @@ test_multitouch_on_single (void) gtk_widget_set_name (A, "A"); B = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); gtk_widget_set_name (B, "B"); - C = gtk_event_box_new (); + C = gtk_image_new (); gtk_widget_set_hexpand (C, TRUE); gtk_widget_set_vexpand (C, TRUE); gtk_widget_set_name (C, "C"); @@ -1038,7 +1038,7 @@ test_multitouch_activation (void) gtk_widget_set_name (A, "A"); B = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); gtk_widget_set_name (B, "B"); - C = gtk_event_box_new (); + C = gtk_image_new (); gtk_widget_set_hexpand (C, TRUE); gtk_widget_set_vexpand (C, TRUE); gtk_widget_set_name (C, "C"); @@ -1116,7 +1116,7 @@ test_multitouch_interaction (void) gtk_widget_set_name (A, "A"); B = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); gtk_widget_set_name (B, "B"); - C = gtk_event_box_new (); + C = gtk_image_new (); gtk_widget_set_hexpand (C, TRUE); gtk_widget_set_vexpand (C, TRUE); gtk_widget_set_name (C, "C"); |