Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Commit

Permalink
[API] Use object paths in LostRenderer and FoundRenderer
Browse files Browse the repository at this point in the history
LostRenderer and FoundRenderer signals should have object path
output parameters (instead of string). Documentations refers to
paths already.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
  • Loading branch information
Jussi Kukkonen authored and Regis Merlino committed Aug 21, 2013
1 parent 624fcfd commit 3a225c3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libdleyna/renderer/server.c
Expand Up @@ -136,10 +136,10 @@ static const gchar g_root_introspection[] =
" <method name='"DLR_INTERFACE_RESCAN"'>"
" </method>"
" <signal name='"DLR_INTERFACE_FOUND_RENDERER"'>"
" <arg type='s' name='"DLR_INTERFACE_PATH"'/>"
" <arg type='o' name='"DLR_INTERFACE_PATH"'/>"
" </signal>"
" <signal name='"DLR_INTERFACE_LOST_RENDERER"'>"
" <arg type='s' name='"DLR_INTERFACE_PATH"'/>"
" <arg type='o' name='"DLR_INTERFACE_PATH"'/>"
" </signal>"
" </interface>"
"</node>";
Expand Down Expand Up @@ -949,7 +949,7 @@ static void prv_found_media_server(const gchar *path)
DLEYNA_SERVER_OBJECT,
DLEYNA_SERVER_INTERFACE_MANAGER,
DLR_INTERFACE_FOUND_RENDERER,
g_variant_new("(s)", path),
g_variant_new("(o)", path),
NULL);
}

Expand All @@ -961,7 +961,7 @@ static void prv_lost_media_server(const gchar *path)
DLEYNA_SERVER_OBJECT,
DLEYNA_SERVER_INTERFACE_MANAGER,
DLR_INTERFACE_LOST_RENDERER,
g_variant_new("(s)", path),
g_variant_new("(o)", path),
NULL);

dleyna_task_processor_remove_queues_for_sink(g_context.processor, path);
Expand Down

0 comments on commit 3a225c3

Please sign in to comment.