e-mod-screen-reader: hardcoded address for system bus removed 08/73508/1 accepted/tizen/common/20160614.143853 accepted/tizen/mobile/20160614.041913 submit/tizen/20160614.021057
authorShilpa Singh <shilpa.singh@samsung.com>
Wed, 8 Jun 2016 09:45:40 +0000 (15:15 +0530)
committerShilpa Singh <shilpa.singh@samsung.com>
Wed, 8 Jun 2016 09:45:40 +0000 (15:15 +0530)
Change-Id: I02073f35d94a7dc6c34e8437150794cab3b46f3d

src/e_mod_main.c

index ceca36b..bc42d27 100644 (file)
@@ -248,13 +248,13 @@ static int
 _fetch_a11y_bus_address(void)
 {
    if (conn) return 0;
-   conn = eldbus_address_connection_get("unix:path=/var/run/dbus/system_bus_socket");
+   conn = eldbus_connection_get(ELDBUS_CONNECTION_TYPE_SYSTEM);
    if (!conn)
      {
         ERROR("unable to get system bus");
         goto fail;
      }
-   INFO("Connected to: unix:path=/var/run/dbus/system_bus_socket");
+   INFO("Connected to: System Bus");
 
    if (!conn) goto fail;
    eldbus_name_request(conn, E_A11Y_SERVICE_BUS_NAME,