diff options
Diffstat (limited to 'japanese/mozc-server/files/extra-patch-src-unix-fcitx-mozc_response_parser.cc')
-rw-r--r-- | japanese/mozc-server/files/extra-patch-src-unix-fcitx-mozc_response_parser.cc | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/japanese/mozc-server/files/extra-patch-src-unix-fcitx-mozc_response_parser.cc b/japanese/mozc-server/files/extra-patch-src-unix-fcitx-mozc_response_parser.cc deleted file mode 100644 index 77fdebbcb320..000000000000 --- a/japanese/mozc-server/files/extra-patch-src-unix-fcitx-mozc_response_parser.cc +++ /dev/null @@ -1,50 +0,0 @@ ---- src/unix/fcitx/mozc_response_parser.cc.orig 2015-07-13 04:56:54.572997000 +0900 -+++ src/unix/fcitx/mozc_response_parser.cc 2015-07-13 04:58:15.160661000 +0900 -@@ -36,7 +36,7 @@ - #include "base/logging.h" - #include "base/process.h" - #include "base/util.h" --#include "session/commands.pb.h" -+#include "protocol/commands.pb.h" - #include "unix/fcitx/fcitx_mozc.h" - #include "unix/fcitx/surrounding_text_util.h" - #include <fcitx/candidate.h> -@@ -235,11 +235,13 @@ - } - } - -+#if 0 - static boolean FcitxMozcPaging(void* arg, boolean prev) - { - FcitxMozc* mozc = static_cast<FcitxMozc*>(arg); - return mozc->paging(prev); - } -+#endif - - void MozcResponseParser::ParseCandidates( - const mozc::commands::Candidates &candidates, FcitxMozc *fcitx_mozc) const { -@@ -286,12 +288,14 @@ - FcitxCandidateWordList* candList = FcitxInputStateGetCandidateList(fcitx_mozc->GetInputState()); - FcitxCandidateWordReset(candList); - FcitxCandidateWordSetPageSize(candList, 9); -+#if 0 - if (candidates.has_direction() && - candidates.direction() == commands::Candidates::HORIZONTAL) { - FcitxCandidateWordSetLayoutHint(candList, CLH_Horizontal); - } else { - FcitxCandidateWordSetLayoutHint(candList, CLH_Vertical); - } -+#endif - - map<int32, pair<string, string> > usage_map; - if (candidates.has_usages()) { -@@ -395,7 +399,9 @@ - else - FcitxCandidateWordSetChoose(candList, EMPTY_STR_CHOOSE); - FcitxCandidateWordSetFocus(candList, local_index); -+#if 0 - FcitxCandidateWordSetOverridePaging(candList, hasPrev, hasNext, FcitxMozcPaging, fcitx_mozc, NULL); -+#endif - } - - static int GetRawCursorPos(const char * str, int upos) |