E_Input_Method *input_method = NULL;
E_Text_Input *old = NULL;
E_Input_Method_Context *context = NULL;
+ E_Client *ec = NULL;
EINA_SAFETY_ON_NULL_GOTO(resource, err);
EINA_SAFETY_ON_NULL_GOTO(seat, err);
EINA_SAFETY_ON_NULL_GOTO(g_input_method->resource, err);
/* Store application window's E_Client* value for setting transient_for information later */
- E_Client *ec = wl_resource_get_user_data(surface);
+ ec = wl_resource_get_user_data(surface);
EINA_SAFETY_ON_NULL_GOTO(ec, err);
EINA_SAFETY_ON_TRUE_GOTO(e_object_is_del(E_OBJECT(ec)), err);
client_surface_ec = ec;