[PATCH] text: Fix misleading error message

Eduardo Lima (Etrunko) eduardo.lima at intel.com
Fri May 10 13:51:17 PDT 2013


From: "Eduardo Lima (Etrunko)" <eduardo.lima at linux.intel.com>

This should be "input_method" and not "desktop_shell"

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima at intel.com>
---
 src/text-backend.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/text-backend.c b/src/text-backend.c
index 92efd9f..d7ce31c 100644
--- a/src/text-backend.c
+++ b/src/text-backend.c
@@ -762,7 +762,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;
 	}
-- 
1.8.1.4



More information about the wayland-devel mailing list