diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2012-03-07 10:12:26 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2012-03-07 10:18:57 +0100 |
commit | efccc708d4578ff231bba2fba38bbb861dabcbe1 (patch) | |
tree | bffc182ca16da2d22e0993635632a9c2a4574a02 /tests/auto/compositor/mockclient.cpp | |
parent | 28f40671e8ec939ef451746925a9986ea596c616 (diff) |
Get rid of dummy source update functions and debug output.
The source update callbacks are unnecessary since change
d224714afd087cc73d8 in wayland.
Change-Id: Iac2266621b8739464077d9aa8f9292e06e9b4b35
Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
Diffstat (limited to 'tests/auto/compositor/mockclient.cpp')
-rw-r--r-- | tests/auto/compositor/mockclient.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/auto/compositor/mockclient.cpp b/tests/auto/compositor/mockclient.cpp index f47f25339..5dabfcd57 100644 --- a/tests/auto/compositor/mockclient.cpp +++ b/tests/auto/compositor/mockclient.cpp @@ -63,7 +63,7 @@ MockClient::MockClient() wl_display_add_global_listener(display, handleGlobal, this); - fd = wl_display_get_fd(display, sourceUpdate, 0); + fd = wl_display_get_fd(display, 0, 0); QSocketNotifier *readNotifier = new QSocketNotifier(fd, QSocketNotifier::Read, this); connect(readNotifier, SIGNAL(activated(int)), this, SLOT(readEvents())); @@ -96,11 +96,6 @@ void MockClient::handleGlobal(wl_display *, uint32_t id, const char *interface, resolve(data)->handleGlobal(id, QByteArray(interface)); } -int MockClient::sourceUpdate(uint32_t, void *) -{ - return 0; -} - void MockClient::outputGeometryEvent(void *data, wl_output *, int32_t x, int32_t y, int32_t width, int32_t height, |