text: Fix misleading error message
authorEduardo Lima (Etrunko) <eduardo.lima@linux.intel.com>
Fri, 10 May 2013 20:50:36 +0000 (17:50 -0300)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 7 Jun 2013 05:29:22 +0000 (01:29 -0400)
This should be "input_method" and not "desktop_shell"

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
src/text-backend.c

index 3d36527..7e01692 100644 (file)
@@ -769,7 +769,7 @@ bind_input_method(struct wl_client *client,
 
        if (text_backend->input_method.client != client) {
                wl_resource_post_error(resource, WL_DISPLAY_ERROR_INVALID_OBJECT,
-                                      "permission to bind desktop_shell denied");
+                                      "permission to bind input_method denied");
                wl_resource_destroy(resource);
                return;
        }