summaryrefslogtreecommitdiffstats
path: root/textproc/ibus/files/patch-client_gtk3_ibusimcontext.c
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/ibus/files/patch-client_gtk3_ibusimcontext.c')
-rw-r--r--textproc/ibus/files/patch-client_gtk3_ibusimcontext.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/textproc/ibus/files/patch-client_gtk3_ibusimcontext.c b/textproc/ibus/files/patch-client_gtk3_ibusimcontext.c
new file mode 100644
index 000000000..9da2574c3
--- /dev/null
+++ b/textproc/ibus/files/patch-client_gtk3_ibusimcontext.c
@@ -0,0 +1,30 @@
+--- client/gtk3/ibusimcontext.c.orig 2013-04-17 01:31:01.000000000 +0000
++++ client/gtk3/ibusimcontext.c 2013-06-17 07:23:44.000000000 +0000
+@@ -563,10 +563,10 @@
+
+ /* always install snooper */
+ if (_key_snooper_id == 0) {
+-#pragma GCC diagnostic push
+-#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
++//#pragma GCC diagnostic push
++//#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+ _key_snooper_id = gtk_key_snooper_install (_key_snooper_cb, NULL);
+-#pragma GCC diagnostic pop
++//#pragma GCC diagnostic pop
+ }
+
+ _daemon_name_watch_id = g_bus_watch_name (G_BUS_TYPE_SESSION,
+@@ -583,10 +583,10 @@
+ {
+ if (_key_snooper_id != 0) {
+ IDEBUG ("snooper is terminated.");
+-#pragma GCC diagnostic push
+-#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
++//#pragma GCC diagnostic push
++//#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+ gtk_key_snooper_remove (_key_snooper_id);
+-#pragma GCC diagnostic pop
++//#pragma GCC diagnostic pop
+ _key_snooper_id = 0;
+ }
+