diff options
author | Christian Hergert <chergert@redhat.com> | 2022-03-14 13:59:17 -0700 |
---|---|---|
committer | Christian Hergert <chergert@redhat.com> | 2022-03-14 13:59:17 -0700 |
commit | ec011ed78e52ef20ba6c9febd7b15733190ca8c7 (patch) | |
tree | 1b6bb7284bb5611522248333511f6e5cb8b71bed /libpeas | |
parent | d4db3e289d601432ce3743bf0439c61688aa29c8 (diff) | |
download | libpeas-ec011ed78e52ef20ba6c9febd7b15733190ca8c7.tar.gz |
gir: remove deprecated call API from gir
These can't really be executed from GIR anyway without bindings so we
should just mark them as hidden to avoid polluting the API.
Related !33
Diffstat (limited to 'libpeas')
-rw-r--r-- | libpeas/peas-extension-set.c | 12 | ||||
-rw-r--r-- | libpeas/peas-extension.c | 10 |
2 files changed, 7 insertions, 15 deletions
diff --git a/libpeas/peas-extension-set.c b/libpeas/peas-extension-set.c index 4331fc7..266a550 100644 --- a/libpeas/peas-extension-set.c +++ b/libpeas/peas-extension-set.c @@ -474,15 +474,13 @@ peas_extension_set_get_extension (PeasExtensionSet *set, } /** - * peas_extension_set_call: + * peas_extension_set_call: (skip) * @set: A #PeasExtensionSet. * @method_name: the name of the method that should be called. * @...: arguments for the method. * * Call a method on all the [alias@Extension] instances contained in @set. * - * See [method@Extension.call] for more information. - * * Deprecated: 1.2: Use [method@ExtensionSet.foreach] instead. * * Returns: %TRUE on successful call. @@ -506,15 +504,13 @@ peas_extension_set_call (PeasExtensionSet *set, } /** - * peas_extension_set_call_valist: + * peas_extension_set_call_valist: (skip) * @set: A #PeasExtensionSet. * @method_name: the name of the method that should be called. * @va_args: the arguments for the method. * * Call a method on all the [alias@Extension] instances contained in @set. * - * See [method@Extension.call_valist] for more information. - * * Deprecated: 1.2: Use [class@ExtensionSet.foreach] instead. * * Returns: %TRUE on successful call. @@ -553,15 +549,13 @@ peas_extension_set_call_valist (PeasExtensionSet *set, } /** - * peas_extension_set_callv: + * peas_extension_set_callv: (skip) * @set: A #PeasExtensionSet. * @method_name: the name of the method that should be called. * @args: the arguments for the method. * * Call a method on all the [alias@Extension] instances contained in @set. * - * See [method@Extension.callv] for more information. - * * Returns: %TRUE on successful call. * * Deprecated: 1.2: Use [method@ExtensionSet.foreach] instead. diff --git a/libpeas/peas-extension.c b/libpeas/peas-extension.c index 5d15607..cc59356 100644 --- a/libpeas/peas-extension.c +++ b/libpeas/peas-extension.c @@ -54,9 +54,7 @@ * possible for libpeas to provide a functional GObject instance at all. * Another reason is that it makes reference counting issues easier to deal * with. - * - * See [method@extension_call] for more information. - **/ + */ GType peas_extension_get_type (void) { @@ -128,7 +126,7 @@ peas_extension_get_extension_type (PeasExtension *exten) } /** - * peas_extension_call: + * peas_extension_call: (skip) * @exten: A #PeasExtension. * @method_name: the name of the method that should be called. * @...: arguments for the method. @@ -172,7 +170,7 @@ peas_extension_call (PeasExtension *exten, } /** - * peas_extension_call_valist: + * peas_extension_call_valist: (skip) * @exten: A #PeasExtension. * @method_name: the name of the method that should be called. * @args: the arguments for the method. @@ -226,7 +224,7 @@ peas_extension_call_valist (PeasExtension *exten, } /** - * peas_extension_callv: + * peas_extension_callv: (skip) * @exten: A #PeasExtension. * @method_name: the name of the method that should be called. * @args: the arguments for the method. |