[gupnp/wip/phako/reusable-service-action: 10/11] doc: An <-> a where applicable
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp/wip/phako/reusable-service-action: 10/11] doc: An <-> a where applicable
- Date: Mon, 31 May 2021 17:44:57 +0000 (UTC)
commit 86be2f087458e383585c5fc443748616e7a9395c
Author: Jens Georg <mail jensge org>
Date: Sat May 29 02:46:56 2021 +0200
doc: An <-> a where applicable
libgupnp/gupnp-device-info.c | 8 ++++----
libgupnp/gupnp-root-device.c | 2 +-
libgupnp/gupnp-service-info.c | 6 +++---
libgupnp/gupnp-service-introspection.c | 4 ++--
libgupnp/gupnp-service-proxy.c | 2 +-
libgupnp/gupnp-types.h | 2 +-
libgupnp/xml-util.c | 2 +-
7 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/libgupnp/gupnp-device-info.c b/libgupnp/gupnp-device-info.c
index 34a9671..6858b7c 100644
--- a/libgupnp/gupnp-device-info.c
+++ b/libgupnp/gupnp-device-info.c
@@ -542,7 +542,7 @@ gupnp_device_info_get_manufacturer (GUPnPDeviceInfo *info)
* gupnp_device_info_get_manufacturer_url:
* @info: A #GUPnPDeviceInfo
*
- * Get a URL pointing to the manufacturer's website.
+ * Get an URL pointing to the manufacturer's website.
*
* Return value: A string, or %NULL. g_free() after use.
**/
@@ -627,7 +627,7 @@ gupnp_device_info_get_model_number (GUPnPDeviceInfo *info)
* gupnp_device_info_get_model_url:
* @info: A #GUPnPDeviceInfo
*
- * Get a URL pointing to the device model's website.
+ * Get an URL pointing to the device model's website.
*
* Return value: A string, or %NULL. g_free() after use.
**/
@@ -691,7 +691,7 @@ gupnp_device_info_get_upc (GUPnPDeviceInfo *info)
* gupnp_device_info_get_presentation_url:
* @info: A #GUPnPDeviceInfo
*
- * Get a URL pointing to the device's presentation page, for web-based
+ * Get an URL pointing to the device's presentation page, for web-based
* administration.
*
* Return value: A string, or %NULL. g_free() after use.
@@ -773,7 +773,7 @@ icon_free (Icon *icon)
* @height: (out) (allow-none): The location where to store the height of the
* returned icon, or %NULL
*
- * Get a URL pointing to the icon most closely matching the
+ * Get an URL pointing to the icon most closely matching the
* given criteria, or %NULL. If @requested_mime_type is set, only icons with
* this mime type will be returned. If @requested_depth is set, only icons with
* this or lower depth will be returned. If @requested_width and/or
diff --git a/libgupnp/gupnp-root-device.c b/libgupnp/gupnp-root-device.c
index 4637ed6..ea0fb68 100644
--- a/libgupnp/gupnp-root-device.c
+++ b/libgupnp/gupnp-root-device.c
@@ -272,7 +272,7 @@ fill_resource_group (xmlNode *element,
}
}
-/* Load and parse @description_path as an XML document, synchronously. */
+/* Load and parse @description_path as a XML document, synchronously. */
static GUPnPXMLDoc *
load_and_parse (const char *description_path)
{
diff --git a/libgupnp/gupnp-service-info.c b/libgupnp/gupnp-service-info.c
index b531784..f418422 100644
--- a/libgupnp/gupnp-service-info.c
+++ b/libgupnp/gupnp-service-info.c
@@ -693,7 +693,7 @@ introspection_error_cb (gpointer user_data)
*
* Note that introspection object is created from the information in service
* description document (SCPD) provided by the service so it can not be created
- * if the service does not provide an SCPD.
+ * if the service does not provide a SCPD.
**/
void
gupnp_service_info_get_introspection_async
@@ -716,7 +716,7 @@ gupnp_service_info_get_introspection_async
*
* Note that introspection object is created from the information in service
* description document (SCPD) provided by the service so it can not be created
- * if the service does not provide an SCPD.
+ * if the service does not provide a SCPD.
*
* If @cancellable is used to cancel the call, @callback will be called with
* error code %G_IO_ERROR_CANCELLED.
@@ -833,7 +833,7 @@ prv_introspection_cb (GUPnPServiceInfo *info,
*
* Note that introspection object is created from the information in service
* description document (SCPD) provided by the service so it can not be created
- * if the service does not provide an SCPD.
+ * if the service does not provide a SCPD.
*
* If @cancellable is used to cancel the call, @callback will be called with
* error code %G_IO_ERROR_CANCELLED.
diff --git a/libgupnp/gupnp-service-introspection.c b/libgupnp/gupnp-service-introspection.c
index 21b9f8e..ff9f716 100644
--- a/libgupnp/gupnp-service-introspection.c
+++ b/libgupnp/gupnp-service-introspection.c
@@ -34,7 +34,7 @@
*
* Note that all the introspection information is retreived from the service
* description document (SCPD) provided by the service and hence can not be
- * guaranteed to be complete. A UPnP service is required to provide an SCPD but
+ * guaranteed to be complete. A UPnP service is required to provide a SCPD but
* unfortunately, many services either do not provide this document or the
* document does not provide any or all of the introspection information.
*
@@ -749,7 +749,7 @@ collect_variable_names (gpointer data,
/**
* gupnp_service_introspection_new:
- * @scpd: Pointer to the SCPD of the service to create a introspection for
+ * @scpd: Pointer to the SCPD of the service to create an introspection for
*
* Create a new #GUPnPServiceIntrospection for the service created from the
* SCPD @scpd or %NULL.
diff --git a/libgupnp/gupnp-service-proxy.c b/libgupnp/gupnp-service-proxy.c
index 80540c8..24036c3 100644
--- a/libgupnp/gupnp-service-proxy.c
+++ b/libgupnp/gupnp-service-proxy.c
@@ -386,7 +386,7 @@ gupnp_service_proxy_class_init (GUPnPServiceProxyClass *klass)
*
* Sends action @action with parameters @Varargs to the service exposed by
* @proxy synchronously. If an error occurred, @error will be set. In case of
- * a UPnPError the error code will be the same in @error.
+ * an UPnPError the error code will be the same in @error.
*
* Return value: %TRUE if sending the action was succesful.
*
diff --git a/libgupnp/gupnp-types.h b/libgupnp/gupnp-types.h
index b35ea23..ccf00d6 100644
--- a/libgupnp/gupnp-types.h
+++ b/libgupnp/gupnp-types.h
@@ -79,7 +79,7 @@ G_BEGIN_DECLS
/**
* GUPNP_TYPE_URI:
*
- * A string type representing a Universal Resource Indentifier.
+ * A string type representing an Universal Resource Indentifier.
*/
#define GUPNP_TYPE_URI \
(gupnp_uri_get_type ())
diff --git a/libgupnp/xml-util.c b/libgupnp/xml-util.c
index 2fc5e74..05215c2 100644
--- a/libgupnp/xml-util.c
+++ b/libgupnp/xml-util.c
@@ -166,7 +166,7 @@ xml_util_get_attribute_contents (xmlNode *node,
/**
* xml_util_real_node:
- * @node: an %xmlNodePtr
+ * @node: a %xmlNodePtr
*
* Finds the first "real" node (ie, not a comment or whitespace) at or
* after @node at its level in the tree.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]