26 lines
978 B
Plaintext
26 lines
978 B
Plaintext
$OpenBSD: patch-client_gtk2_ibusimcontext_c,v 1.1 2013/05/07 07:59:25 fgsch Exp $
|
|
--- client/gtk2/ibusimcontext.c.orig Fri May 3 10:01:09 2013
|
|
+++ client/gtk2/ibusimcontext.c Fri May 3 10:02:45 2013
|
|
@@ -563,10 +563,7 @@ ibus_im_context_class_init (IBusIMContextClass *class)
|
|
|
|
/* always install snooper */
|
|
if (_key_snooper_id == 0) {
|
|
-#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
|
|
}
|
|
|
|
_daemon_name_watch_id = g_bus_watch_name (G_BUS_TYPE_SESSION,
|
|
@@ -583,10 +580,7 @@ ibus_im_context_class_fini (IBusIMContextClass *class)
|
|
{
|
|
if (_key_snooper_id != 0) {
|
|
IDEBUG ("snooper is terminated.");
|
|
-#pragma GCC diagnostic push
|
|
-#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
gtk_key_snooper_remove (_key_snooper_id);
|
|
-#pragma GCC diagnostic pop
|
|
_key_snooper_id = 0;
|
|
}
|
|
|