http://bugs.gentoo.org/407779 http://code.google.com/p/ibus/issues/detail?id=1428 --- src/IBusChewingEngine-def.c +++ src/IBusChewingEngine-def.c @@ -392,13 +392,13 @@ gVar=g_variant_new_uint32(g_value_get_uint(gValue)); break; case G_TYPE_UINT64: - gVar=g_variant_new_uint64(g_value_get_uint(gValue)); + gVar=g_variant_new_uint64(g_value_get_uint64(gValue)); break; case G_TYPE_INT: - gVar=g_variant_new_int32(g_value_get_uint(gValue)); + gVar=g_variant_new_int32(g_value_get_int(gValue)); break; case G_TYPE_INT64: - gVar=g_variant_new_int64(g_value_get_uint(gValue)); + gVar=g_variant_new_int64(g_value_get_int64(gValue)); break; case G_TYPE_STRING: gVar=g_variant_new_string(g_value_get_string(gValue));