freebsd-ports/chinese/fcitx/files/patch-src_lib_fcitx-gclient_fcitxclient.c
Wen Heping c5d2ab6af3 - Update to 4.2.6
PR:		171608
Submitted by:	Zhihao Yuan <lichray@gmail.com> (maintainer)
2012-09-19 07:01:24 +00:00

17 lines
556 B
C

--- src/lib/fcitx-gclient/fcitxclient.c.orig 2012-09-19 14:25:18.000000000 +0800
+++ src/lib/fcitx-gclient/fcitxclient.c 2012-09-19 14:29:55.000000000 +0800
@@ -26,10 +26,14 @@
#include "fcitxclient.h"
#include "marshall.h"
+#ifdef _DEBUG
#define fcitx_gclient_debug(...) g_log ("fcitx-client", \
G_LOG_LEVEL_DEBUG, \
__VA_ARGS__)
+#else
+#define fcitx_gclient_debug(...)
+#endif
typedef struct _ProcessKeyStruct ProcessKeyStruct;
struct _ProcessKeyStruct {