summaryrefslogtreecommitdiff
path: root/libpeas/peas-plugin-loader-c.c
diff options
context:
space:
mode:
authorChristian Hergert <chergert@redhat.com>2019-08-05 14:47:08 -0700
committerChristian Hergert <chergert@redhat.com>2019-08-05 14:47:35 -0700
commit8ee917d0f2f276efef38f79962d6e9f379298d96 (patch)
tree294e38a60083eb06d605ed00feb5ecd730ef6fdb /libpeas/peas-plugin-loader-c.c
parent8ef8dc542c10af281651f12c2cfc78437bd66158 (diff)
downloadlibpeas-8ee917d0f2f276efef38f79962d6e9f379298d96.tar.gz
libpeas: ignore GParameter deprecation
The API we use here relies on GParameter, and while it may be deprecated from GLib, the API will have to live for some time in libpeas itself. Instead, we can disable deprecations and rely on the GLib compiler warnings for projects that are consuming these APIs. Doing so also frees up a lot of our console output in builds to ensure people see other deprecations that need to be adjusted.
Diffstat (limited to 'libpeas/peas-plugin-loader-c.c')
-rw-r--r--libpeas/peas-plugin-loader-c.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpeas/peas-plugin-loader-c.c b/libpeas/peas-plugin-loader-c.c
index a476eb4..5395945 100644
--- a/libpeas/peas-plugin-loader-c.c
+++ b/libpeas/peas-plugin-loader-c.c
@@ -110,6 +110,7 @@ peas_plugin_loader_c_provides_extension (PeasPluginLoader *loader,
return peas_object_module_provides_object (info->loader_data, exten_type);
}
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
static PeasExtension *
peas_plugin_loader_c_create_extension (PeasPluginLoader *loader,
PeasPluginInfo *info,
@@ -158,6 +159,7 @@ peas_plugin_loader_c_create_extension (PeasPluginLoader *loader,
return instance;
}
+G_GNUC_END_IGNORE_DEPRECATIONS
static void
peas_plugin_loader_c_init (PeasPluginLoaderC *cloader)