From 2982f46fbbdc2db979ae64aeb26fc197f7b1810d Mon Sep 17 00:00:00 2001 From: Ludovic Ferrandis Date: Thu, 11 Jul 2013 10:57:17 +0200 Subject: Coding convention. Remove trailing spaces. https://bugzilla.gnome.org/show_bug.cgi?id=704094 --- libgupnp/gupnp-device-info.c | 14 +++++++------- libgupnp/gupnp-service-proxy.c | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/libgupnp/gupnp-device-info.c b/libgupnp/gupnp-device-info.c index 51f3871..50d96c1 100644 --- a/libgupnp/gupnp-device-info.c +++ b/libgupnp/gupnp-device-info.c @@ -85,7 +85,7 @@ gupnp_device_info_set_property (GObject *object, switch (property_id) { case PROP_RESOURCE_FACTORY: - info->priv->factory = + info->priv->factory = GUPNP_RESOURCE_FACTORY (g_value_dup_object (value)); break; case PROP_CONTEXT: @@ -474,7 +474,7 @@ gupnp_device_info_get_device_type (GUPnPDeviceInfo *info) * @info: A #GUPnPDeviceInfo * * Get the friendly name of the device. - * + * * Return value: A string, or %NULL. g_free() after use. **/ char * @@ -577,7 +577,7 @@ gupnp_device_info_get_model_number (GUPnPDeviceInfo *info) * @info: A #GUPnPDeviceInfo * * Get a URL pointing to the device model's website. - * + * * Return value: A string, or %NULL. g_free() after use. **/ char * @@ -595,7 +595,7 @@ gupnp_device_info_get_model_url (GUPnPDeviceInfo *info) * @info: A #GUPnPDeviceInfo * * Get the serial number of the device. - * + * * Return value: A string, or %NULL. g_free() after use. **/ char * @@ -630,7 +630,7 @@ gupnp_device_info_get_upc (GUPnPDeviceInfo *info) * * Get a URL pointing to the device's presentation page, for web-based * administration. - * + * * Return value: A string, or %NULL. g_free() after use. **/ char * @@ -870,7 +870,7 @@ gupnp_device_info_get_icon_url (GUPnPDeviceInfo *info, return ret; } -/* Returns TRUE if @query matches against @base. +/* Returns TRUE if @query matches against @base. * - If @query does not specify a version, it matches any version specified * in @base. * - If @query specifies a version, it matches any version specified in @base @@ -930,7 +930,7 @@ resource_type_match (const char *query, * gupnp_device_info_list_dlna_capabilities: * @info: A #GUPnPDeviceInfo * - * 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. * * Returns: (transfer full) (element-type utf8): a #GList of newly allocated strings or diff --git a/libgupnp/gupnp-service-proxy.c b/libgupnp/gupnp-service-proxy.c index 9c9721b..10da9ac 100644 --- a/libgupnp/gupnp-service-proxy.c +++ b/libgupnp/gupnp-service-proxy.c @@ -281,14 +281,14 @@ gupnp_service_proxy_dispose (GObject *object) g_source_destroy (proxy->priv->notify_idle_src); proxy->priv->notify_idle_src = NULL; } - + while (proxy->priv->pending_notifies) { emit_notify_data_free (proxy->priv->pending_notifies->data); proxy->priv->pending_notifies = g_list_delete_link (proxy->priv->pending_notifies, proxy->priv->pending_notifies); } - + /* Call super */ object_class = G_OBJECT_CLASS (gupnp_service_proxy_parent_class); object_class->dispose (object); @@ -1925,7 +1925,7 @@ server_handler (G_GNUC_UNUSED SoupServer *soup_server, g_source_unref (proxy->priv->notify_idle_src); } - + /* Everything went OK */ soup_message_set_status (msg, SOUP_STATUS_OK); } -- cgit v1.2.1