shell: rename shell_create_shell_surface
authorPekka Paalanen <ppaalanen@gmail.com>
Tue, 29 Nov 2011 13:49:31 +0000 (15:49 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Sun, 4 Dec 2011 19:55:53 +0000 (14:55 -0500)
Leftovers from an intermediate patch set, the proper function name is
shell_get_shell_surface. Cosmetic change.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
compositor/shell.c

index c1d38ed..98d5b3f 100644 (file)
@@ -402,10 +402,10 @@ get_shell_surface(struct wlsc_surface *surface)
 }
 
 static void
-shell_create_shell_surface(struct wl_client *client,
-                          struct wl_resource *resource,
-                          uint32_t id,
-                          struct wl_resource *surface_resource)
+shell_get_shell_surface(struct wl_client *client,
+                       struct wl_resource *resource,
+                       uint32_t id,
+                       struct wl_resource *surface_resource)
 {
        struct wlsc_surface *surface = surface_resource->data;
        struct shell_surface *shsurf;
@@ -437,7 +437,7 @@ shell_create_shell_surface(struct wl_client *client,
 }
 
 static const struct wl_shell_interface shell_implementation = {
-       shell_create_shell_surface
+       shell_get_shell_surface
 };
 
 static void