[gupnp] Fix g-i annotations



commit 5d6ca451e64e4482d631ae1e67473b1d985093c9
Author: Jens Georg <mail jensge org>
Date:   Fri Apr 20 16:52:42 2012 +0200

    Fix g-i annotations

 libgupnp/gupnp-context-manager.c       |    2 +-
 libgupnp/gupnp-root-device.c           |    2 +-
 libgupnp/gupnp-service-info.c          |    2 +-
 libgupnp/gupnp-service-info.h          |    2 +-
 libgupnp/gupnp-service-introspection.h |    2 +-
 libgupnp/gupnp-service-proxy.h         |    2 +-
 libgupnp/gupnp-service.c               |    3 ++-
 libgupnp/gupnp-service.h               |    2 +-
 8 files changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/libgupnp/gupnp-context-manager.c b/libgupnp/gupnp-context-manager.c
index 6a27555..95914ac 100644
--- a/libgupnp/gupnp-context-manager.c
+++ b/libgupnp/gupnp-context-manager.c
@@ -233,7 +233,7 @@ gupnp_context_manager_class_init (GUPnPContextManagerClass *klass)
         /**
          * GUPnPContextManager:port:
          *
-         * @port: Port to create contexts for, or 0 if you don't care what
+         * Port the contexts listen on, or 0 if you don't care what
          * port is used by #GUPnPContext objects created by this object.
          **/
         g_object_class_install_property
diff --git a/libgupnp/gupnp-root-device.c b/libgupnp/gupnp-root-device.c
index 65115f1..c3cfdb2 100644
--- a/libgupnp/gupnp-root-device.c
+++ b/libgupnp/gupnp-root-device.c
@@ -552,7 +552,7 @@ gupnp_root_device_class_init (GUPnPRootDeviceClass *klass)
 }
 
 /**
- * gupnp_root_device_new
+ * gupnp_root_device_new:
  * @context: The #GUPnPContext
  * @description_path: Path to device description document. This could either
  * be an absolute path or path relative to @description_dir.
diff --git a/libgupnp/gupnp-service-info.c b/libgupnp/gupnp-service-info.c
index db87c61..d72d5eb 100644
--- a/libgupnp/gupnp-service-info.c
+++ b/libgupnp/gupnp-service-info.c
@@ -301,7 +301,7 @@ gupnp_service_info_class_init (GUPnPServiceInfoClass *klass)
                                       G_PARAM_STATIC_BLURB));
 
         /**
-         * GUPnPServiceInfo:service-type
+         * GUPnPServiceInfo:service-type:
          *
          * The service type.
          **/
diff --git a/libgupnp/gupnp-service-info.h b/libgupnp/gupnp-service-info.h
index fff9c89..8cc895c 100644
--- a/libgupnp/gupnp-service-info.h
+++ b/libgupnp/gupnp-service-info.h
@@ -82,7 +82,7 @@ struct _GUPnPServiceInfoClass {
 };
 
 /**
- * GUPnPServiceIntrospectionCallback
+ * GUPnPServiceIntrospectionCallback:
  * @info: The #GUPnPServiceInfo introspection was requested for
  * @introspection: The new #GUPnPServiceIntrospection object, or NULL
  * @error: The #GError that occurred, or NULL
diff --git a/libgupnp/gupnp-service-introspection.h b/libgupnp/gupnp-service-introspection.h
index 803afe7..372d09d 100644
--- a/libgupnp/gupnp-service-introspection.h
+++ b/libgupnp/gupnp-service-introspection.h
@@ -53,7 +53,7 @@ gupnp_service_introspection_get_type (void) G_GNUC_CONST;
                  GUPnPServiceIntrospectionClass))
 
 /**
- * GUPnPServiceActionArgDirection
+ * GUPnPServiceActionArgDirection:
  * @GUPNP_SERVICE_ACTION_ARG_DIRECTION_IN: An "in" variable, to the service.
  * @GUPNP_SERVICE_ACTION_ARG_DIRECTION_OUT: An "out" variable, from the service.
  *
diff --git a/libgupnp/gupnp-service-proxy.h b/libgupnp/gupnp-service-proxy.h
index 9cecf10..7336d35 100644
--- a/libgupnp/gupnp-service-proxy.h
+++ b/libgupnp/gupnp-service-proxy.h
@@ -82,7 +82,7 @@ struct _GUPnPServiceProxyClass {
 };
 
 /**
- * GUPnPServiceProxyAction
+ * GUPnPServiceProxyAction:
  *
  * Opaque structure for holding in-progress action data.
  **/
diff --git a/libgupnp/gupnp-service.c b/libgupnp/gupnp-service.c
index 6ae5234..f0d60e5 100644
--- a/libgupnp/gupnp-service.c
+++ b/libgupnp/gupnp-service.c
@@ -497,13 +497,14 @@ gupnp_service_action_get_value (GUPnPServiceAction *action,
  * @argument: The name of the argument to retrieve
  * @type: The type of argument to retrieve
  *
- * Rename To: gupnp_service_action_get_value
  * Retrieves the value of @argument into a GValue of type @type and returns it.
  * The method exists only and only to satify PyGI, please use
  * #gupnp_service_action_get_value and ignore this if possible.
  *
  * Return value: (transfer full): Value as #GValue associated with @action.
  * #g_value_unset and #g_slice_free it after usage.
+ *
+ * Rename To: gupnp_service_action_get_value
  **/
 GValue *
 gupnp_service_action_get_gvalue (GUPnPServiceAction *action,
diff --git a/libgupnp/gupnp-service.h b/libgupnp/gupnp-service.h
index be9819a..4e5bf6d 100644
--- a/libgupnp/gupnp-service.h
+++ b/libgupnp/gupnp-service.h
@@ -53,7 +53,7 @@ gupnp_service_get_type (void) G_GNUC_CONST;
                  GUPnPServiceClass))
 
 /**
- * GUPnPServiceAction
+ * GUPnPServiceAction:
  *
  * Opaque structure for holding in-progress action data.
  **/



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