summaryrefslogtreecommitdiff
path: root/gtk/gtkimmodule.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2015-05-28 16:54:03 +0200
committerBenjamin Otte <otte@redhat.com>2015-05-28 16:54:03 +0200
commit9df707da223f081475737829b2fadc253fead9ee (patch)
tree21dc42bf71a8bb8b18552835d79da8828cf50f1f /gtk/gtkimmodule.c
parentd921a4fe84eb81d2ef8014fa21bc8f7c8cf2a6fd (diff)
downloadgtk+-9df707da223f081475737829b2fadc253fead9ee.tar.gz
gtk: Add deprecation guards for newest pango deprecations
Diffstat (limited to 'gtk/gtkimmodule.c')
-rw-r--r--gtk/gtkimmodule.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkimmodule.c b/gtk/gtkimmodule.c
index 1a90a226b7..51044ebcb4 100644
--- a/gtk/gtkimmodule.c
+++ b/gtk/gtkimmodule.c
@@ -404,6 +404,7 @@ gtk_im_module_initialize (void)
return;
}
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
while (!have_error && pango_read_line (file, line_buf))
{
const char *p;
@@ -485,6 +486,7 @@ gtk_im_module_initialize (void)
have_error = TRUE;
}
}
+G_GNUC_END_IGNORE_DEPRECATIONS
if (have_error)
{