[rygel-grilo] Minor change
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel-grilo] Minor change
- Date: Fri, 16 Apr 2010 17:20:38 +0000 (UTC)
commit f540b737a75f274b38c6ce7a6191b2c09290fa2c
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date: Fri Apr 16 19:20:07 2010 +0200
Minor change
Adjust lines to 80 columns, if possible.
lib/media-server2-client.c | 17 +++++++++++------
lib/media-server2-server.c | 13 +++++++------
2 files changed, 18 insertions(+), 12 deletions(-)
---
diff --git a/lib/media-server2-client.c b/lib/media-server2-client.c
index df1b7de..66264cd 100644
--- a/lib/media-server2-client.c
+++ b/lib/media-server2-client.c
@@ -176,8 +176,9 @@ get_children_async_reply (DBusGProxy *proxy,
adata = g_simple_async_result_get_op_res_gpointer (res);
- adata->children_result = get_children_list (result,
- (const gchar **) adata->properties);
+ adata->children_result =
+ get_children_list (result,
+ (const gchar **) adata->properties);
g_boxed_free (DBUS_TYPE_CHILDREN, result);
@@ -258,7 +259,8 @@ ms2_client_get_providers ()
/* Put them in a NULL-terminated array */
list_providers = g_new (gchar *, providers->len + 1);
for (i = 0; i < providers->len; i++) {
- list_providers[i] = g_strdup (g_ptr_array_index (providers, i) + prefix_size);
+ list_providers[i] =
+ g_strdup (g_ptr_array_index (providers, i) + prefix_size);
}
list_providers[i] = NULL;
@@ -273,7 +275,8 @@ ms2_client_get_providers ()
* ms2_client_new:
* @provider: provider name.
*
- * Create a new #MS2Client that will be used to obtain content from the provider specified.
+ * Create a new #MS2Client that will be used to obtain content from the provider
+ * specified.
*
* Providers can be obtained with ms2_client_get_providers().
*
@@ -429,7 +432,8 @@ ms2_client_get_properties_finish (MS2Client *client,
g_return_val_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) ==
ms2_client_get_properties_async, NULL);
- adata = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res));
+ adata =
+ g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res));
return adata->properties_result;
}
@@ -556,7 +560,8 @@ ms2_client_get_children_finish (MS2Client *client,
g_return_val_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) ==
ms2_client_get_children_async, NULL);
- adata = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res));
+ adata =
+ g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res));
return adata->children_result;
}
diff --git a/lib/media-server2-server.c b/lib/media-server2-server.c
index ac9d028..3c7939c 100644
--- a/lib/media-server2-server.c
+++ b/lib/media-server2-server.c
@@ -406,12 +406,13 @@ ms2_server_get_children (MS2Server *server,
wrong_prop = check_properties (filter);
if (!wrong_prop) {
- children = server->priv->get_children (id,
- offset,
- max_count < 0? G_MAXINT: max_count,
- filter,
- server->priv->data,
- &children_error);
+ children =
+ server->priv->get_children (id,
+ offset,
+ max_count < 0? G_MAXINT: max_count,
+ filter,
+ server->priv->data,
+ &children_error);
if (children_error) {
send_error = g_error_new_literal (MS2_ERROR,
MS2_ERROR_GENERAL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]