diff options
author | Christian Hergert <chergert@redhat.com> | 2023-03-16 17:36:21 -0700 |
---|---|---|
committer | Christian Hergert <chergert@redhat.com> | 2023-03-22 16:44:35 -0700 |
commit | 9789800fc8a1620d8e0a2bf07cb5672fca94585b (patch) | |
tree | 86322b95cbe089e16737ad04dfe97449bb3c6ccc /libpeas | |
parent | 929ae6911347065740f16c6f9aeaa1f692f7dbf5 (diff) | |
download | libpeas-9789800fc8a1620d8e0a2bf07cb5672fca94585b.tar.gz |
janitorial: ignore GParameter deprecations
There is still much plumbing to modernize to remove GParameter from the
lower layers of libpeas, so ignore them for now to keep our compiler
warnings cleaner.
Diffstat (limited to 'libpeas')
-rw-r--r-- | libpeas/peas-object-module.c | 4 | ||||
-rw-r--r-- | libpeas/peas-plugin-loader-c.c | 2 | ||||
-rw-r--r-- | libpeas/peas-plugin-loader.c | 2 |
3 files changed, 8 insertions, 0 deletions
diff --git a/libpeas/peas-object-module.c b/libpeas/peas-object-module.c index 5d53254..8b5c050 100644 --- a/libpeas/peas-object-module.c +++ b/libpeas/peas-object-module.c @@ -460,6 +460,7 @@ peas_object_module_new_embedded (const gchar *module_name, NULL)); } +G_GNUC_BEGIN_IGNORE_DEPRECATIONS /** * peas_object_module_create_object: (skip) * @module: A #PeasObjectModule. @@ -501,6 +502,7 @@ peas_object_module_create_object (PeasObjectModule *module, return NULL; } +G_GNUC_END_IGNORE_DEPRECATIONS /** * peas_object_module_provides_object: (skip) @@ -652,6 +654,7 @@ peas_object_module_register_extension_factory (PeasObjectModule *module, g_debug ("Registered extension for type '%s'", g_type_name (exten_type)); } +G_GNUC_BEGIN_IGNORE_DEPRECATIONS static GObject * create_gobject_from_type (guint n_parameters, GParameter *parameters, @@ -681,6 +684,7 @@ create_gobject_from_type (guint n_parameters, return G_OBJECT (g_object_newv (impl_type, n_parameters, parameters)); } +G_GNUC_END_IGNORE_DEPRECATIONS /** * peas_object_module_register_extension_type: diff --git a/libpeas/peas-plugin-loader-c.c b/libpeas/peas-plugin-loader-c.c index afe6ca9..a4dc3d3 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) diff --git a/libpeas/peas-plugin-loader.c b/libpeas/peas-plugin-loader.c index 5066427..414fb72 100644 --- a/libpeas/peas-plugin-loader.c +++ b/libpeas/peas-plugin-loader.c @@ -116,6 +116,7 @@ peas_plugin_loader_provides_extension (PeasPluginLoader *loader, return klass->provides_extension (loader, info, ext_type); } +G_GNUC_BEGIN_IGNORE_DEPRECATIONS PeasExtension * peas_plugin_loader_create_extension (PeasPluginLoader *loader, PeasPluginInfo *info, @@ -131,6 +132,7 @@ peas_plugin_loader_create_extension (PeasPluginLoader *loader, return klass->create_extension (loader, info, ext_type, n_parameters, parameters); } +G_GNUC_END_IGNORE_DEPRECATIONS void peas_plugin_loader_garbage_collect (PeasPluginLoader *loader) |