[gupnp/wip/phako/cleanup: 10/21] doc: An <-> a where applicable
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp/wip/phako/cleanup: 10/21] doc: An <-> a where applicable
- Date: Sat, 5 Jun 2021 08:54:29 +0000 (UTC)
commit d471f9cee68685405f8098a2e6eb33a1d400e067
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 fb24afe..04709fd 100644
--- a/libgupnp/gupnp-device-info.c
+++ b/libgupnp/gupnp-device-info.c
@@ -543,7 +543,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.
**/
@@ -628,7 +628,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.
**/
@@ -692,7 +692,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.
@@ -774,7 +774,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 03d2006..e00d315 100644
--- a/libgupnp/gupnp-root-device.c
+++ b/libgupnp/gupnp-root-device.c
@@ -273,7 +273,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 6394f46..f1e0ab9 100644
--- a/libgupnp/gupnp-service-info.c
+++ b/libgupnp/gupnp-service-info.c
@@ -694,7 +694,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
@@ -717,7 +717,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.
@@ -834,7 +834,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 8c7dbe9..3255313 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.
*
@@ -750,7 +750,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 0eaa4a3..0c7c48f 100644
--- a/libgupnp/gupnp-service-proxy.c
+++ b/libgupnp/gupnp-service-proxy.c
@@ -387,7 +387,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 181102c..1c03406 100644
--- a/libgupnp/xml-util.c
+++ b/libgupnp/xml-util.c
@@ -167,7 +167,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]