text: Fix misleading error message

This should be "input_method" and not "desktop_shell"

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
Eduardo Lima (Etrunko) 12 years ago committed by Kristian Høgsberg
parent 2ada748289
commit a2ce68fd03
  1. 2
      src/text-backend.c

@ -769,7 +769,7 @@ bind_input_method(struct wl_client *client,
if (text_backend->input_method.client != client) { if (text_backend->input_method.client != client) {
wl_resource_post_error(resource, WL_DISPLAY_ERROR_INVALID_OBJECT, 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); wl_resource_destroy(resource);
return; return;
} }

Loading…
Cancel
Save