[libpeas] python: ignore deprecations in GParameter usage
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas] python: ignore deprecations in GParameter usage
- Date: Mon, 5 Aug 2019 23:07:13 +0000 (UTC)
commit e53472d490070d1a0be9372544e7d33ce85eff7b
Author: Christian Hergert <chergert redhat com>
Date: Mon Aug 5 16:06:06 2019 -0700
python: ignore deprecations in GParameter usage
loaders/python/peas-plugin-loader-python.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/loaders/python/peas-plugin-loader-python.c b/loaders/python/peas-plugin-loader-python.c
index 6d7c582..9ac1a77 100644
--- a/loaders/python/peas-plugin-loader-python.c
+++ b/loaders/python/peas-plugin-loader-python.c
@@ -101,6 +101,7 @@ peas_plugin_loader_python_provides_extension (PeasPluginLoader *loader,
return the_type != G_TYPE_INVALID;
}
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
static PeasExtension *
peas_plugin_loader_python_create_extension (PeasPluginLoader *loader,
PeasPluginInfo *info,
@@ -152,6 +153,7 @@ out:
PyGILState_Release (state);
return object;
}
+G_GNUC_END_IGNORE_DEPRECATIONS
static gboolean
peas_plugin_loader_python_load (PeasPluginLoader *loader,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]