summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--clutter/clutter/clutter-text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clutter/clutter/clutter-text.c b/clutter/clutter/clutter-text.c
index aa06c37a5..3fab98b4e 100644
--- a/clutter/clutter/clutter-text.c
+++ b/clutter/clutter/clutter-text.c
@@ -3193,7 +3193,7 @@ clutter_text_key_focus_out (ClutterActor *actor)
if (priv->editable && clutter_input_focus_is_focused (priv->input_focus))
{
- clutter_text_set_preedit_string (CLUTTER_TEXT (actor), NULL, NULL, 0);
+ clutter_input_focus_reset (priv->input_focus);
clutter_input_method_focus_out (method);
}