text: Remove surface arg in create_text_model
Remove the wl_surface argument from create_text_model request. The
wl_surface is specified as an argument in the activate request instead.
Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
diff --git a/src/text-backend.c b/src/text-backend.c
index ddeec20..1854e22 100644
--- a/src/text-backend.c
+++ b/src/text-backend.c
@@ -1,5 +1,6 @@
/*
* Copyright © 2012 Openismus GmbH
+ * Copyright © 2012 Intel Corporation
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation for any purpose is hereby granted without fee, provided
@@ -181,8 +182,7 @@
static void text_model_factory_create_text_model(struct wl_client *client,
struct wl_resource *resource,
- uint32_t id,
- struct wl_resource *surface)
+ uint32_t id)
{
struct input_method *input_method = resource->data;
struct text_model *text_model;