projects
/
platform
/
upstream
/
bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44e8350
)
tools: Fix g_dbus_setup_private connection check in mpris-proxy
author
Frédéric Danis
<frederic.danis@collabora.com>
Wed, 30 Mar 2022 09:47:40 +0000
(11:47 +0200)
committer
Ayush Garg
<ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:54 +0000
(14:55 +0530)
Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
tools/mpris-proxy.c
patch
|
blob
|
history
diff --git
a/tools/mpris-proxy.c
b/tools/mpris-proxy.c
index
129b06a
..
9f868e0
100755
(executable)
--- a/
tools/mpris-proxy.c
+++ b/
tools/mpris-proxy.c
@@
-1982,7
+1982,7
@@
static void register_player(GDBusProxy *proxy)
player->conn = g_dbus_setup_private(DBUS_BUS_SESSION, player->bus_name,
NULL);
#endif
- if (!
sessio
n) {
+ if (!
player->con
n) {
fprintf(stderr, "Could not register bus name %s",
player->bus_name);
goto fail;