diff options
Diffstat (limited to 'textproc/ibus/files/patch-client_gtk2_ibusimcontext.c')
-rw-r--r-- | textproc/ibus/files/patch-client_gtk2_ibusimcontext.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/textproc/ibus/files/patch-client_gtk2_ibusimcontext.c b/textproc/ibus/files/patch-client_gtk2_ibusimcontext.c new file mode 100644 index 000000000..fb6e8477a --- /dev/null +++ b/textproc/ibus/files/patch-client_gtk2_ibusimcontext.c @@ -0,0 +1,30 @@ +--- client/gtk2/ibusimcontext.c.orig 2013-06-17 07:23:04.000000000 +0000 ++++ client/gtk2/ibusimcontext.c 2013-06-17 07:23:32.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; + } + |