summaryrefslogtreecommitdiffstats
path: root/src/PYConfig.cc
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-03-20 15:45:58 +0800
committerPeng Wu <alexepico@gmail.com>2012-03-20 15:47:14 +0800
commit17a3ca51fccbbda4520be38ebbdc8f45673ffdff (patch)
treedd6fccc6871f46b9b91f69a374bbc0961801e099 /src/PYConfig.cc
parente352759e39907c1f6152bade4d1559d31916a0e2 (diff)
downloadibus-libpinyin-17a3ca51fccbbda4520be38ebbdc8f45673ffdff.tar.gz
ibus-libpinyin-17a3ca51fccbbda4520be38ebbdc8f45673ffdff.tar.xz
ibus-libpinyin-17a3ca51fccbbda4520be38ebbdc8f45673ffdff.zip
remove ibus dconf work around
Diffstat (limited to 'src/PYConfig.cc')
-rw-r--r--src/PYConfig.cc9
1 files changed, 0 insertions, 9 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";