diff options
author | Christian Hergert <chergert@redhat.com> | 2023-03-16 17:27:11 -0700 |
---|---|---|
committer | Christian Hergert <chergert@redhat.com> | 2023-03-22 16:44:35 -0700 |
commit | 929ae6911347065740f16c6f9aeaa1f692f7dbf5 (patch) | |
tree | aacb0b64a7533e826783f062c22aaa9b814f7108 /libpeas/peas-engine-priv.h | |
parent | 07d02f716e86cd16506d56b7eea17229a6eb6ca3 (diff) | |
download | libpeas-929ae6911347065740f16c6f9aeaa1f692f7dbf5.tar.gz |
janitorial: remove peas_engine_create_extensionv()
This moves peas_engine_create_extensionv() to become private API in the
form of _peas_engine_create_extensionv() for internal use. The ultimate
goal here is the continued removal of deprecated GParameter use in the
libpeas-2 public API.
Diffstat (limited to 'libpeas/peas-engine-priv.h')
-rw-r--r-- | libpeas/peas-engine-priv.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libpeas/peas-engine-priv.h b/libpeas/peas-engine-priv.h index a02c7c1..a6741c7 100644 --- a/libpeas/peas-engine-priv.h +++ b/libpeas/peas-engine-priv.h @@ -23,6 +23,10 @@ #pragma once +#include <glib-object.h> + +#include "peas-engine.h" +#include "peas-plugin-info.h" #include "peas-version-macros.h" G_BEGIN_DECLS @@ -30,4 +34,12 @@ G_BEGIN_DECLS PEAS_AVAILABLE_IN_ALL void _peas_engine_shutdown (void); +G_GNUC_BEGIN_IGNORE_DEPRECATIONS +PeasExtension *_peas_engine_create_extensionv (PeasEngine *engine, + PeasPluginInfo *info, + GType extension_type, + guint n_parameters, + GParameter *parameters); +G_GNUC_END_IGNORE_DEPRECATIONS + G_END_DECLS |