summaryrefslogtreecommitdiff
path: root/pango/pango-layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pango-layout.c')
-rw-r--r--pango/pango-layout.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 4e12abf2..397c9499 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -3851,6 +3851,9 @@ apply_no_shape_attributes (PangoLayout *layout,
}
}
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+
static void
pango_layout_check_lines (PangoLayout *layout)
{
@@ -4015,6 +4018,8 @@ pango_layout_check_lines (PangoLayout *layout)
layout->lines = g_slist_reverse (layout->lines);
}
+#pragma GCC diagnostic pop
+
/**
* pango_layout_line_ref:
* @line: (nullable): a #PangoLayoutLine, may be %NULL