From 2407816e9db27e35ba1b3a6c8e18453237a48fad Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Nov 08 2013 05:07:12 +0000 Subject: fixes patch --- diff --git a/ibus-pinyin-support-set-content-type-method.patch b/ibus-pinyin-support-set-content-type-method.patch index d52108b..b7be95d 100644 --- a/ibus-pinyin-support-set-content-type-method.patch +++ b/ibus-pinyin-support-set-content-type-method.patch @@ -1,4 +1,4 @@ -From 7bc061db455e89ed9b4636f0d7dfbb1e469b97fa Mon Sep 17 00:00:00 2001 +From f1accaa9a18bd4a1c7234b40e16ad9889c25a461 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 6 Nov 2013 13:16:14 +0800 Subject: [PATCH] support setContentType method @@ -13,7 +13,7 @@ Subject: [PATCH] support setContentType method 6 files changed, 82 insertions(+) diff --git a/src/PYBopomofoEngine.cc b/src/PYBopomofoEngine.cc -index 581c4cf..08251f5 100644 +index 581c4cf..4dfbc2c 100644 --- a/src/PYBopomofoEngine.cc +++ b/src/PYBopomofoEngine.cc @@ -42,6 +42,10 @@ BopomofoEngine::BopomofoEngine (IBusEngine *engine) @@ -53,7 +53,7 @@ index 581c4cf..08251f5 100644 +#if IBUS_CHECK_VERSION(1, 5, 4) +void -+LibPinyinBopomofoEngine::setContentType (guint purpose, guint hints) ++BopomofoEngine::setContentType (guint purpose, guint hints) +{ + m_input_purpose = (IBusInputPurpose) purpose; +} @@ -148,7 +148,7 @@ index b74e6e8..22e1b79 100644 virtual void enable (void) = 0; virtual void disable (void) = 0; diff --git a/src/PYPinyinEngine.cc b/src/PYPinyinEngine.cc -index 7aea261..b890492 100644 +index 7aea261..570187b 100644 --- a/src/PYPinyinEngine.cc +++ b/src/PYPinyinEngine.cc @@ -45,6 +45,10 @@ PinyinEngine::PinyinEngine (IBusEngine *engine) @@ -188,7 +188,7 @@ index 7aea261..b890492 100644 +#if IBUS_CHECK_VERSION(1, 5, 4) +void -+LibPinyinPinyinEngine::setContentType (guint purpose, guint hints) ++PinyinEngine::setContentType (guint purpose, guint hints) +{ + m_input_purpose = (IBusInputPurpose) purpose; +}