summaryrefslogtreecommitdiff
path: root/pango/pango-engine.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/pango-engine.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/pango-engine.c')
-rw-r--r--pango/pango-engine.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/pango/pango-engine.c b/pango/pango-engine.c
index 3f3a3c3b..a22270eb 100644
--- a/pango/pango-engine.c
+++ b/pango/pango-engine.c
@@ -83,8 +83,9 @@ pango_engine_class_init (PangoEngineClass *klass)
{
}
-
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
G_DEFINE_ABSTRACT_TYPE (PangoEngineLang, pango_engine_lang, PANGO_TYPE_ENGINE);
+G_GNUC_END_IGNORE_DEPRECATIONS
static void
pango_engine_lang_init (PangoEngineLang *self)
@@ -111,8 +112,9 @@ pango_engine_shape_real_covers (PangoEngineShape *engine G_GNUC_UNUSED,
return result;
}
-
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
G_DEFINE_ABSTRACT_TYPE (PangoEngineShape, pango_engine_shape, PANGO_TYPE_ENGINE);
+G_GNUC_END_IGNORE_DEPRECATIONS
static void
pango_engine_shape_init (PangoEngineShape *klass)
@@ -231,7 +233,9 @@ fallback_engine_covers (PangoEngineShape *engine G_GNUC_UNUSED,
static GType pango_fallback_engine_get_type (void);
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
G_DEFINE_TYPE (PangoFallbackEngine, pango_fallback_engine, PANGO_TYPE_ENGINE_SHAPE);
+G_GNUC_END_IGNORE_DEPRECATIONS
static void
pango_fallback_engine_init (PangoFallbackEngine *self)