summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndy Nichols <andy.nichols@nokia.com>2012-03-30 15:17:25 +0200
committerSamuel Rødal <samuel.rodal@nokia.com>2012-03-30 15:27:00 +0200
commit46d881d521b992589daff3738030f46af40f8bfc (patch)
tree773bd70b2f7c7bdf2d8554134a775e221144de36 /tests
parent17b8fcec842236708ad3255814ab99aacadab0bd (diff)
Fixed mockshell error in client auto test
Change-Id: Ibcb6bd807d281fbc14c35c98f4dabd4d7f82077b Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/client/mockshell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/client/mockshell.cpp b/tests/auto/client/mockshell.cpp
index ede240d8e..f11a53033 100644
--- a/tests/auto/client/mockshell.cpp
+++ b/tests/auto/client/mockshell.cpp
@@ -131,7 +131,7 @@ void shell_surface_set_maximized(wl_client *client,
static void get_shell_surface(wl_client *client, wl_resource *compositorResource, uint32_t id, wl_resource *surfaceResource)
{
- const struct wl_shell_surface_interface shellSurfaceInterface = {
+ static const struct wl_shell_surface_interface shellSurfaceInterface = {
shell_surface_move,
shell_surface_resize,
shell_surface_set_toplevel,