summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hergert <chergert@redhat.com>2023-03-20 15:36:10 -0700
committerChristian Hergert <chergert@redhat.com>2023-03-22 16:44:35 -0700
commitd70123b4755c985ed592a00e72b1d65f3de63fd5 (patch)
tree4a2be37bae30a89efe54928359308427c61e5aae
parenta12402e282663005a45c2605e09b3bfb9f992a3b (diff)
downloadlibpeas-d70123b4755c985ed592a00e72b1d65f3de63fd5.tar.gz
loaders/python: ignore GParameter deprecations
-rw-r--r--loaders/python/peas-plugin-loader-python.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/loaders/python/peas-plugin-loader-python.c b/loaders/python/peas-plugin-loader-python.c
index e2a6327..6ce5c80 100644
--- a/loaders/python/peas-plugin-loader-python.c
+++ b/loaders/python/peas-plugin-loader-python.c
@@ -98,6 +98,7 @@ peas_plugin_loader_python_provides_extension (PeasPluginLoader *loader,
return the_type != G_TYPE_INVALID;
}
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
static GObject *
peas_plugin_loader_python_create_extension (PeasPluginLoader *loader,
PeasPluginInfo *info,
@@ -153,6 +154,7 @@ out:
PyGILState_Release (state);
return object;
}
+G_GNUC_END_IGNORE_DEPRECATIONS
static gboolean
peas_plugin_loader_python_load (PeasPluginLoader *loader,