summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/PYConfig.cc9
-rw-r--r--src/PYPConfig.cc9
2 files changed, 0 insertions, 18 deletions
diff --git a/src/PYConfig.cc b/src/PYConfig.cc
index 9d29aba..1373607 100644
--- a/src/PYConfig.cc
+++ b/src/PYConfig.cc
@@ -20,19 +20,10 @@
*/
#include "PYConfig.h"
-#include <strings.h>
#include "PYTypes.h"
#include "PYBus.h"
#include "PYDoublePinyinTable.h"
-#ifdef HAVE_IBUS_CONFIG_GET_VALUES
-/* work around gsettings. */
-static bool operator == (const gchar *lhs, const std::string &rhs)
-{
- return strcasecmp (lhs, rhs.c_str ()) == 0;
-}
-#endif
-
namespace PY {
const gchar * const CONFIG_CORRECT_PINYIN = "CorrectPinyin";
diff --git a/src/PYPConfig.cc b/src/PYPConfig.cc
index 155a637..43bedd6 100644
--- a/src/PYPConfig.cc
+++ b/src/PYPConfig.cc
@@ -20,19 +20,10 @@
*/
#include "PYPConfig.h"
-#include <strings.h>
#include <pinyin.h>
#include "PYBus.h"
#include "PYLibPinyin.h"
-#ifdef HAVE_IBUS_CONFIG_GET_VALUES
-/* work around gsettings. */
-static bool operator == (const gchar *lhs, const std::string &rhs)
-{
- return strcasecmp (lhs, rhs.c_str ()) == 0;
-}
-#endif
-
namespace PY {
const gchar * const CONFIG_CORRECT_PINYIN = "CorrectPinyin";