editor: Remove preedit text on startup

There should not be preedit text when a text entry does not have focus.

Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
This commit is contained in:
Jan Arne Petersen 2012-11-05 03:26:41 +01:00 committed by Kristian Høgsberg
parent 25f6db51f0
commit 8083e019cd

View File

@ -938,7 +938,6 @@ main(int argc, char *argv[])
editor.entry = text_entry_create(&editor, "Entry");
editor.editor = text_entry_create(&editor, "Editor");
text_entry_set_preedit(editor.editor, "preedit", strlen("preedit"));
window_set_title(editor.window, "Text Editor");