diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-07-22 16:27:21 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-07-22 16:27:45 -0700 |
commit | ee883c3f23b4a4b49730396e7522646b9c224ab4 (patch) | |
tree | 647203d342110497aa1204ebf05f00a79d8c683d | |
parent | b2174f462d8da243b8ae7ea0955f614907a3bda7 (diff) |
binding: mediaplayer: switch to G_BUS_TYPE_SYSTEM dbus sessionicefish_8.99.4icefish_8.99.3icefish_8.99.2icefish_8.99.1icefish/8.99.4icefish/8.99.3icefish/8.99.2icefish/8.99.18.99.48.99.38.99.28.99.1
lightmediascanner now listens on the G_BUS_TYPE_SYSTEM dbus session
and no longer the user's session.
Bug-AGL: SPEC-2655
Change-Id: I054de128556b7d2cfcdd42d8ddc345befa3a2021
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
-rw-r--r-- | binding/media-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binding/media-manager.c b/binding/media-manager.c index f15d79e..549153b 100644 --- a/binding/media-manager.c +++ b/binding/media-manager.c @@ -220,7 +220,7 @@ static int MediaPlayerDBusInit(void) GError *error = NULL; MediaPlayerManage.lms_proxy = scanner1_proxy_new_for_bus_sync( - G_BUS_TYPE_SESSION, G_DBUS_PROXY_FLAGS_NONE, LIGHTMEDIASCANNER_SERVICE, + G_BUS_TYPE_SYSTEM, G_DBUS_PROXY_FLAGS_NONE, LIGHTMEDIASCANNER_SERVICE, LIGHTMEDIASCANNER_PATH, NULL, &error); if (MediaPlayerManage.lms_proxy == NULL) { |