text: Fix misleading error message

This should be "input_method" and not "desktop_shell"

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
This commit is contained in:
Eduardo Lima (Etrunko) 2013-05-10 17:50:36 -03:00 committed by Kristian Høgsberg
parent 2ada748289
commit a2ce68fd03

View 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;
}