From 17a3ca51fccbbda4520be38ebbdc8f45673ffdff Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Tue, 20 Mar 2012 15:45:58 +0800 Subject: remove ibus dconf work around --- src/PYPConfig.cc | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/PYPConfig.cc') 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 #include #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"; -- cgit