summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Chalupa <mchqwerty@gmail.com>2014-08-21 12:07:07 +0200
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2014-08-21 14:44:51 +0300
commitc6d98e15cae20b481f954ce50f788644d1286b62 (patch)
tree35375db34429731dca0c0ec5b8d14555b3e4cf53
parent8cf7a23e57495f079c9b2b773ac36646a47905d6 (diff)
tests: remove unnecessary lines from queue-test
Earlier, the wl_display_dispatch_pending were setting number of thread that can dispatch events. This behaviour was removed later, so now these lines are redundant. Related commits: 385fe30e8b144a968aa88c6546c2ef247771b3d7 78cfa967681c965d23f6cbf76e080bbb0b564ff6 3c7e8bfbb4745315b7bcbf69fa746c3d6718c305 Signed-off-by: Marek Chalupa <mchqwerty@gmail.com> Acked-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-rw-r--r--tests/queue-test.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/queue-test.c b/tests/queue-test.c
index 3de8924..a7b54d9 100644
--- a/tests/queue-test.c
+++ b/tests/queue-test.c
@@ -130,11 +130,6 @@ client_test_multiple_queues(void)
state.display = wl_display_connect(SOCKET_NAME);
client_assert(state.display);
- /* Make the current thread the display thread. This is because
- * wl_display_dispatch_queue() will only read the display fd if
- * the main display thread has been set. */
- wl_display_dispatch_pending(state.display);
-
queue = wl_display_create_queue(state.display);
client_assert(queue);
@@ -186,11 +181,6 @@ client_test_queue_roundtrip(void)
display = wl_display_connect(SOCKET_NAME);
client_assert(display);
- /* Make the current thread the display thread. This is because
- * wl_display_dispatch_queue() will only read the display fd if
- * the main display thread has been set. */
- wl_display_dispatch_pending(display);
-
queue = wl_display_create_queue(display);
client_assert(queue);