[libpeas] gir: remove deprecated call API from gir



commit ec011ed78e52ef20ba6c9febd7b15733190ca8c7
Author: Christian Hergert <chergert redhat com>
Date:   Mon Mar 14 13:59:17 2022 -0700

    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

 libpeas/peas-extension-set.c | 12 +++---------
 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 4331fc73..266a5500 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 5d156074..cc593568 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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]