summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Huang <shawn.p.huang@gmail.com>2009-03-23 14:51:06 +0800
committerPeng Huang <shawn.p.huang@gmail.com>2009-03-23 14:51:06 +0800
commit11e8e771f4de51fabfed74f1b2e9a66215751da0 (patch)
tree18000c1e523ce6f701091b61f0e8a8c452c72b16
parent3dc5912b21668edb0c7f9656b40c2c4586f75557 (diff)
downloadibus-11e8e771f4de51fabfed74f1b2e9a66215751da0.tar.gz
ibus-11e8e771f4de51fabfed74f1b2e9a66215751da0.tar.xz
ibus-11e8e771f4de51fabfed74f1b2e9a66215751da0.zip
Set cursor pos to zero in ibus_lookup_table_clear.
-rw-r--r--src/ibuslookuptable.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ibuslookuptable.c b/src/ibuslookuptable.c
index 37342c5..5e1bc81 100644
--- a/src/ibuslookuptable.c
+++ b/src/ibuslookuptable.c
@@ -273,6 +273,8 @@ ibus_lookup_table_clear (IBusLookupTable *table)
}
g_array_set_size (table->candidates, 0);
+
+ table->cursor_pos = 0;
}
void