From f04c09ff4441c48a5ffebd373999318bb76afce2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=A4=AA=E0=A5=8D=E0=A4=B0=E0=A4=B5=E0=A4=BF=E0=A4=A3=20?= =?UTF-8?q?=E0=A4=B8=E0=A4=BE=E0=A4=A4=E0=A4=AA=E0=A5=81=E0=A4=A4=E0=A5=87?= Date: Wed, 23 Jun 2010 15:51:07 +0530 Subject: [PATCH] fixed rh bz 601568 --- src/engine.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/engine.c b/src/engine.c index 4cc8fb7..6d806d8 100644 --- a/src/engine.c +++ b/src/engine.c @@ -23,9 +23,9 @@ struct _IBusSinhalaEngineClass { }; struct { - gunichar character; - gunichar mahaprana; - gunichar sagngnaka; + gint character; + gint mahaprana; + gint sagngnaka; int key; } consonents[] = { {0xda4, 0x00, 0x00, IBUS_z}, @@ -72,10 +72,10 @@ struct { }; struct { - gunichar single0; - gunichar double0; - gunichar single1; - gunichar double1; + gint single0; + gint double0; + gint single1; + gint double1; int key; } vowels[] = { {0xd85, 0xd86, 0xdcf, 0xdcf, IBUS_a}, @@ -207,7 +207,7 @@ ibus_sinhala_engine_init (IBusSinhalaEngine *sinhala) sinhala->prop_list = ibus_prop_list_new (); g_object_ref_sink (sinhala->prop_list); ibus_prop_list_append (sinhala->prop_list, sinhala->sinhala_mode_prop); - sinhala->buffer = g_array_new (TRUE, TRUE, sizeof(gunichar *)); + sinhala->buffer = g_array_new (TRUE, TRUE, sizeof(gint)); } static GObject*