Fixed mockshell error in client auto test
authorAndy Nichols <andy.nichols@nokia.com>
Fri, 30 Mar 2012 13:17:25 +0000 (15:17 +0200)
committerSamuel Rødal <samuel.rodal@nokia.com>
Fri, 30 Mar 2012 13:27:00 +0000 (15:27 +0200)
Change-Id: Ibcb6bd807d281fbc14c35c98f4dabd4d7f82077b
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
tests/auto/client/mockshell.cpp

index ede240d..f11a530 100644 (file)
@@ -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,