[rygel-grilo] Fix ListChildren method
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel-grilo] Fix ListChildren method
- Date: Wed, 12 May 2010 10:42:21 +0000 (UTC)
commit f7c645a0753b9af2dc60e048d4969f226ef99c9f
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date: Wed May 12 12:41:26 2010 +0200
Fix ListChildren method
Previously it was named as ListObjects.
lib/media-server1-server.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/lib/media-server1-server.c b/lib/media-server1-server.c
index 1b30f4a..7d8e5ed 100644
--- a/lib/media-server1-server.c
+++ b/lib/media-server1-server.c
@@ -716,9 +716,9 @@ handle_get_all_message (DBusConnection *c,
}
static DBusHandlerResult
-handle_list_objects_message (DBusConnection *c,
- DBusMessage *m,
- void *userdata)
+handle_list_children_message (DBusConnection *c,
+ DBusMessage *m,
+ void *userdata)
{
DBusMessage *r;
GList *children;
@@ -811,8 +811,8 @@ containers_handler (DBusConnection *c,
return handle_get_all_message (c, m, userdata);
} else if (dbus_message_is_method_call (m,
"org.gnome.UPnP.MediaContainer1",
- "ListObjects")) {
- return handle_list_objects_message (c, m, userdata);
+ "ListChildren")) {
+ return handle_list_children_message (c, m, userdata);
} else {
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]