--- a/sunpinyin2/wrapper/ibus/src/engine_impl.cpp Thu Nov 12 20:59:45 2009 +0800
+++ b/sunpinyin2/wrapper/ibus/src/engine_impl.cpp Fri Nov 13 22:15:06 2009 +0800
@@ -90,7 +90,7 @@
}
static CKeyEvent
-translate_key(guint key_val, guint key_code, guint modifiers)
+translate_key(guint key_val, guint /*key_code*/, guint modifiers)
{
// XXX: may need to move this logic into CKeyEvent
if (isprint(key_val) && !isspace(key_val) && !(modifiers & IM_CTRL_MASK)) {
@@ -163,7 +163,7 @@
}
void
-EngineImpl::property_activate (const std::string& property, unsigned state)
+EngineImpl::property_activate (const std::string& property, unsigned /*state*/)
{
if (m_status_prop->toggle(property)) {
m_pv->setStatusAttrValue(CIMIWinHandler::STATUS_ID_CN,