summaryrefslogtreecommitdiff
path: root/pango/break.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-08-29 08:50:38 -0400
committerMatthias Clasen <mclasen@redhat.com>2016-08-29 08:51:18 -0400
commit6cc857aa6648b17e70b1b2b13a4e8b7a74a4a240 (patch)
tree48c686f585241b09a89ea195c52b4e766c9acb7f /pango/break.c
parentcce034fea4187ce02577dbc6d92c8b1042aca815 (diff)
downloadpango-6cc857aa6648b17e70b1b2b13a4e8b7a74a4a240.tar.gz
Avoid deprecation warnings
Now that we're using new-style deprecations, we have to fight a little harder to get rid of them inside pango.
Diffstat (limited to 'pango/break.c')
-rw-r--r--pango/break.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pango/break.c b/pango/break.c
index b4b3c822..498f7642 100644
--- a/pango/break.c
+++ b/pango/break.c
@@ -1935,7 +1935,9 @@ break_script (const char *item_text,
typedef PangoEngineLang PangoLanguageEngine;
typedef PangoEngineLangClass PangoLanguageEngineClass;
static GType pango_language_engine_get_type (void) G_GNUC_CONST;
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
G_DEFINE_TYPE (PangoLanguageEngine, pango_language_engine, PANGO_TYPE_ENGINE_LANG);
+G_GNUC_END_IGNORE_DEPRECATIONS
static void
_pango_language_engine_break (PangoEngineLang *engine G_GNUC_UNUSED,
const char *item_text,