[gupnp] vala,gi: Fix introspection, remove overrides



commit f66bf79d192a40afffa4a6ab0e36d639a92d85ef
Author: Jens Georg <mail jensge org>
Date:   Sat Jun 5 09:35:01 2021 +0200

    vala,gi: Fix introspection, remove overrides

 libgupnp/gupnp-device-info.c           | 2 +-
 libgupnp/gupnp-service-introspection.c | 4 ++--
 vala/GUPnP-1.2.metadata                | 4 ----
 3 files changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/libgupnp/gupnp-device-info.c b/libgupnp/gupnp-device-info.c
index 7d97e94..fb24afe 100644
--- a/libgupnp/gupnp-device-info.c
+++ b/libgupnp/gupnp-device-info.c
@@ -1422,7 +1422,7 @@ gupnp_device_info_list_service_types (GUPnPDeviceInfo *info)
  * this function a new object is created. The application must cache any used
  * services if it wishes to keep them around and re-use them.
  *
- * Returns: (transfer full): A #GUPnPServiceInfo.
+ * Returns: (transfer full)(allow-none): A #GUPnPServiceInfo.
  **/
 GUPnPServiceInfo *
 gupnp_device_info_get_service (GUPnPDeviceInfo *info,
diff --git a/libgupnp/gupnp-service-introspection.c b/libgupnp/gupnp-service-introspection.c
index 1a0b152..8c7dbe9 100644
--- a/libgupnp/gupnp-service-introspection.c
+++ b/libgupnp/gupnp-service-introspection.c
@@ -897,7 +897,7 @@ state_variable_search_func (GUPnPServiceStateVariableInfo *variable,
  *
  * Returns the state variable by the name @variable_name in this service.
  *
- * Return value: (transfer none): the state variable or %NULL. Do not modify or
+ * Return value: (transfer none)(allow-none): the state variable or %NULL. Do not modify or
  * free it.
  **/
 const GUPnPServiceStateVariableInfo *
@@ -937,7 +937,7 @@ action_search_func (GUPnPServiceActionInfo *action,
  *
  * Returns the action by the name @action_name in this service.
  *
- * Return value: (transfer none): the action or %NULL. Do not modify or free
+ * Return value: (transfer none)(allow-none): the action or %NULL. Do not modify or free
  * it.
  **/
 const GUPnPServiceActionInfo *
diff --git a/vala/GUPnP-1.2.metadata b/vala/GUPnP-1.2.metadata
index 4f0aedf..247fb79 100644
--- a/vala/GUPnP-1.2.metadata
+++ b/vala/GUPnP-1.2.metadata
@@ -3,8 +3,6 @@ Acl
     .is_allowed_async skip
     .is_allowed_finish skip
 DeviceInfo
-    .get_device nullable=true
-    .get_service nullable=true
     .element skip
     .document skip
 Service
@@ -18,8 +16,6 @@ ServiceInfo
     .document skip
     .element skip
 ServiceIntrospection
-    .get_action nullable=true unowned=true
-    .get_state_variable nullable=true unowned=true
     .scpd skip
 ServiceProxy
     .add_notify skip=false


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