Commit 800c9242 authored by Jens Georg's avatar Jens Georg
Browse files

Fix annotation warnings from g-ir-scanner

parent 878b19bd
...@@ -419,7 +419,7 @@ default_server_handler (SoupServer *server, ...@@ -419,7 +419,7 @@ default_server_handler (SoupServer *server,
* *
* Get the #SoupServer HTTP server that GUPnP is using. * Get the #SoupServer HTTP server that GUPnP is using.
* *
* Return value: The #SoupServer used by GUPnP. Do not unref this when finished. * Returns: (transfer none): The #SoupServer used by GUPnP. Do not unref this when finished.
**/ **/
SoupServer * SoupServer *
gupnp_context_get_server (GUPnPContext *context) gupnp_context_get_server (GUPnPContext *context)
......
...@@ -1031,7 +1031,7 @@ gupnp_control_point_new_full (GUPnPContext *context, ...@@ -1031,7 +1031,7 @@ gupnp_control_point_new_full (GUPnPContext *context,
* *
* Get the #GUPnPControlPoint associated with @control_point. * Get the #GUPnPControlPoint associated with @control_point.
* *
* Return value: The #GUPnPContext. * Returns: (transfer none): The #GUPnPContext.
**/ **/
GUPnPContext * GUPnPContext *
gupnp_control_point_get_context (GUPnPControlPoint *control_point) gupnp_control_point_get_context (GUPnPControlPoint *control_point)
...@@ -1088,7 +1088,7 @@ gupnp_control_point_list_service_proxies (GUPnPControlPoint *control_point) ...@@ -1088,7 +1088,7 @@ gupnp_control_point_list_service_proxies (GUPnPControlPoint *control_point)
* *
* Get the #GUPnPResourceFactory used by the @control_point. * Get the #GUPnPResourceFactory used by the @control_point.
* *
* Return value: A #GUPnPResourceFactory. * Returns: (transfer none): A #GUPnPResourceFactory.
**/ **/
GUPnPResourceFactory * GUPnPResourceFactory *
gupnp_control_point_get_resource_factory (GUPnPControlPoint *control_point) gupnp_control_point_get_resource_factory (GUPnPControlPoint *control_point)
......
...@@ -371,7 +371,7 @@ gupnp_device_info_class_init (GUPnPDeviceInfoClass *klass) ...@@ -371,7 +371,7 @@ gupnp_device_info_class_init (GUPnPDeviceInfoClass *klass)
* *
* Get the #GUPnPResourceFactory used by the @device_info. * Get the #GUPnPResourceFactory used by the @device_info.
* *
* Returns: A #GUPnPResourceFactory. * Returns: (transfer none): A #GUPnPResourceFactory.
**/ **/
GUPnPResourceFactory * GUPnPResourceFactory *
gupnp_device_info_get_resource_factory (GUPnPDeviceInfo *info) gupnp_device_info_get_resource_factory (GUPnPDeviceInfo *info)
...@@ -387,7 +387,7 @@ gupnp_device_info_get_resource_factory (GUPnPDeviceInfo *info) ...@@ -387,7 +387,7 @@ gupnp_device_info_get_resource_factory (GUPnPDeviceInfo *info)
* *
* Get the associated #GUPnPContext. * Get the associated #GUPnPContext.
* *
* Returns: A #GUPnPContext. * Returns: (transfer none): A #GUPnPContext.
**/ **/
GUPnPContext * GUPnPContext *
gupnp_device_info_get_context (GUPnPDeviceInfo *info) gupnp_device_info_get_context (GUPnPDeviceInfo *info)
...@@ -936,7 +936,7 @@ resource_type_match (const char *query, ...@@ -936,7 +936,7 @@ resource_type_match (const char *query,
* Get a #GList of strings that represent the device capabilities as announced * Get a #GList of strings that represent the device capabilities as announced
* in the device description file using the <dlna:X_DLNACAP> element. * in the device description file using the <dlna:X_DLNACAP> element.
* *
* Return value: (element-type utf8): a #GList of newly allocated strings or * Returns: (transfer full) (element-type utf8): a #GList of newly allocated strings or
* %NULL if the device description doesn't contain the <dlna:X_DLNACAP> * %NULL if the device description doesn't contain the <dlna:X_DLNACAP>
* element. * element.
**/ **/
...@@ -1109,7 +1109,7 @@ gupnp_device_info_list_device_types (GUPnPDeviceInfo *info) ...@@ -1109,7 +1109,7 @@ gupnp_device_info_list_device_types (GUPnPDeviceInfo *info)
* this function a new object is created. The application must cache any used * this function a new object is created. The application must cache any used
* devices if it wishes to keep them around and re-use them. * devices if it wishes to keep them around and re-use them.
* *
* Return value: A new #GUPnPDeviceInfo. * Returns: (transfer full): A new #GUPnPDeviceInfo.
**/ **/
GUPnPDeviceInfo * GUPnPDeviceInfo *
gupnp_device_info_get_device (GUPnPDeviceInfo *info, gupnp_device_info_get_device (GUPnPDeviceInfo *info,
...@@ -1263,7 +1263,7 @@ gupnp_device_info_list_service_types (GUPnPDeviceInfo *info) ...@@ -1263,7 +1263,7 @@ gupnp_device_info_list_service_types (GUPnPDeviceInfo *info)
* this function a new object is created. The application must cache any used * 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. * services if it wishes to keep them around and re-use them.
* *
* Return value: A #GUPnPServiceInfo. * Returns: (transfer full): A #GUPnPServiceInfo.
**/ **/
GUPnPServiceInfo * GUPnPServiceInfo *
gupnp_device_info_get_service (GUPnPDeviceInfo *info, gupnp_device_info_get_service (GUPnPDeviceInfo *info,
......
...@@ -120,7 +120,7 @@ gupnp_resource_factory_new (void) ...@@ -120,7 +120,7 @@ gupnp_resource_factory_new (void)
* *
* Get the default singleton #GUPnPResourceFactory object. * Get the default singleton #GUPnPResourceFactory object.
* *
* Return value: A @GUPnPResourceFactory object. * Returns: (transfer none): A @GUPnPResourceFactory object.
**/ **/
GUPnPResourceFactory * GUPnPResourceFactory *
gupnp_resource_factory_get_default (void) gupnp_resource_factory_get_default (void)
......
...@@ -383,7 +383,7 @@ gupnp_service_info_class_init (GUPnPServiceInfoClass *klass) ...@@ -383,7 +383,7 @@ gupnp_service_info_class_init (GUPnPServiceInfoClass *klass)
* *
* Get the #GUPnPContext associated with @info. * Get the #GUPnPContext associated with @info.
* *
* Returns: A #GUPnPContext. * Returns: (transfer none): A #GUPnPContext.
**/ **/
GUPnPContext * GUPnPContext *
gupnp_service_info_get_context (GUPnPServiceInfo *info) gupnp_service_info_get_context (GUPnPServiceInfo *info)
......
...@@ -610,7 +610,7 @@ gupnp_service_proxy_send_action_list (GUPnPServiceProxy *proxy, ...@@ -610,7 +610,7 @@ gupnp_service_proxy_send_action_list (GUPnPServiceProxy *proxy,
* gupnp_service_proxy_end_action() to check for errors, to retrieve return * gupnp_service_proxy_end_action() to check for errors, to retrieve return
* values, and to free the #GUPnPServiceProxyAction. * values, and to free the #GUPnPServiceProxyAction.
* *
* Return value: A #GUPnPServiceProxyAction handle. This will be freed when * Returns: (transfer none): A #GUPnPServiceProxyAction handle. This will be freed when
* gupnp_service_proxy_cancel_action() or * gupnp_service_proxy_cancel_action() or
* gupnp_service_proxy_end_action_valist(). * gupnp_service_proxy_end_action_valist().
**/ **/
...@@ -834,7 +834,7 @@ write_in_parameter (const char *arg_name, ...@@ -834,7 +834,7 @@ write_in_parameter (const char *arg_name,
* See gupnp_service_proxy_begin_action(); this version takes a va_list for * See gupnp_service_proxy_begin_action(); this version takes a va_list for
* use by language bindings. * use by language bindings.
* *
* Return value: A #GUPnPServiceProxyAction handle. This will * Returns: (transfer none): A #GUPnPServiceProxyAction handle. This will
* be freed when calling gupnp_service_proxy_cancel_action() or * be freed when calling gupnp_service_proxy_cancel_action() or
* gupnp_service_proxy_end_action_valist(). * gupnp_service_proxy_end_action_valist().
**/ **/
...@@ -1528,7 +1528,7 @@ gupnp_service_proxy_add_notify (GUPnPServiceProxy *proxy, ...@@ -1528,7 +1528,7 @@ gupnp_service_proxy_add_notify (GUPnPServiceProxy *proxy,
* gupnp_service_proxy_remove_notify: * gupnp_service_proxy_remove_notify:
* @proxy: A #GUPnPServiceProxy * @proxy: A #GUPnPServiceProxy
* @variable: The variable to add notification for * @variable: The variable to add notification for
* @callback: The callback to call when @variable changes * @callback: (scope call): The callback to call when @variable changes
* @user_data: User data for @callback * @user_data: User data for @callback
* *
* Cancels the variable change notification for @callback and @user_data. * Cancels the variable change notification for @callback and @user_data.
......
...@@ -582,8 +582,8 @@ gupnp_service_action_set_valist (GUPnPServiceAction *action, ...@@ -582,8 +582,8 @@ gupnp_service_action_set_valist (GUPnPServiceAction *action,
/** /**
* gupnp_service_action_set_values: * gupnp_service_action_set_values:
* @action: A #GUPnPServiceAction * @action: A #GUPnPServiceAction
* @arg_names: (element-type utf8) (transfer-none): A #GList of argument names * @arg_names: (element-type utf8) (transfer none): A #GList of argument names
* @arg_values: (element-type GValue) (transfer-none): The #GList of values (as * @arg_values: (element-type GValue) (transfer none): The #GList of values (as
* #GValues) that line up with @arg_names. * #GValues) that line up with @arg_names.
* *
* Sets the specified action return values. * Sets the specified action return values.
......
...@@ -102,9 +102,6 @@ struct _GUPnPServiceClass { ...@@ -102,9 +102,6 @@ struct _GUPnPServiceClass {
}; };
GType
gupnp_service_action_get_type (void);
const char * const char *
gupnp_service_action_get_name (GUPnPServiceAction *action); gupnp_service_action_get_name (GUPnPServiceAction *action);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment