diff options
author | Christian Hergert <chergert@redhat.com> | 2023-03-16 17:15:19 -0700 |
---|---|---|
committer | Christian Hergert <chergert@redhat.com> | 2023-03-22 16:44:35 -0700 |
commit | e6aa866b943341023d2167bef817cf7eb661f9c9 (patch) | |
tree | 7ec1c7f73a37964050d5210f4659fab0030e6c01 /libpeas | |
parent | ad766b7500b7709da9bd961ed462420193c0bb86 (diff) | |
download | libpeas-e6aa866b943341023d2167bef817cf7eb661f9c9.tar.gz |
janitorial: remove GParameter from public API
Now that we're breaking ABI, we can drop the GParameter API but still use
it internally (as that'd take a lot more code cleanup).
Diffstat (limited to 'libpeas')
-rw-r--r-- | libpeas/peas-extension-set.c | 20 | ||||
-rw-r--r-- | libpeas/peas-extension-set.h | 8 |
2 files changed, 1 insertions, 27 deletions
diff --git a/libpeas/peas-extension-set.c b/libpeas/peas-extension-set.c index dd365ce..9b9ecd4 100644 --- a/libpeas/peas-extension-set.c +++ b/libpeas/peas-extension-set.c @@ -492,25 +492,7 @@ peas_extension_set_foreach (PeasExtensionSet *set, } } -/** - * peas_extension_set_newv: (skip) - * @engine: (allow-none): A #PeasEngine, or %NULL. - * @exten_type: the extension #GType. - * @n_parameters: the length of the @parameters array. - * @parameters: (array length=n_parameters): an array of #GParameter. - * - * Create a new #PeasExtensionSet for the @exten_type extension type. - * - * If @engine is %NULL, then the default engine will be used. - * - * Since libpeas 1.22, @exten_type can be an Abstract [alias@GObject.Type] - * and not just an Interface [alias@GObject.Type]. - * - * See [ctor@ExtensionSet.new] for more information. - * - * Returns: (transfer full): a new instance of #PeasExtensionSet. - */ -PeasExtensionSet * +static PeasExtensionSet * peas_extension_set_newv (PeasEngine *engine, GType exten_type, guint n_parameters, diff --git a/libpeas/peas-extension-set.h b/libpeas/peas-extension-set.h index 5de6311..0a3f932 100644 --- a/libpeas/peas-extension-set.h +++ b/libpeas/peas-extension-set.h @@ -118,14 +118,6 @@ PEAS_AVAILABLE_IN_ALL PeasExtension *peas_extension_set_get_extension (PeasExtensionSet *set, PeasPluginInfo *info); -G_GNUC_BEGIN_IGNORE_DEPRECATIONS -PEAS_AVAILABLE_IN_ALL -PeasExtensionSet *peas_extension_set_newv (PeasEngine *engine, - GType exten_type, - guint n_parameters, - GParameter *parameters); -G_GNUC_END_IGNORE_DEPRECATIONS - PEAS_AVAILABLE_IN_ALL PeasExtensionSet *peas_extension_set_new_with_properties (PeasEngine *engine, GType exten_type, |