}
/* Get the session bus. */
- g_conn = _bt_gdbus_get_session_gconn();
+ g_conn = _bt_gdbus_get_system_gconn();
retv_if(g_conn == NULL, FALSE);
properties_proxy = g_dbus_proxy_new_sync(g_conn, G_DBUS_PROXY_FLAGS_NONE,
NULL, BT_OBEXD_DBUS_NAME,
GDBusProxy *session_proxy;
GError *err = NULL;
- g_conn = _bt_gdbus_get_session_gconn();
+ g_conn = _bt_gdbus_get_system_gconn();
retv_if(g_conn == NULL, BLUETOOTH_ERROR_INTERNAL);
retv_if(sending_info->session_path == NULL, BLUETOOTH_ERROR_INVALID_PARAM);
return;
if (file_offset < sending_info->file_count) {
/* Get the session bus. */
- g_conn = _bt_gdbus_get_session_gconn();
+ g_conn = _bt_gdbus_get_system_gconn();
ret_if(g_conn == NULL);
client_proxy = g_dbus_proxy_new_sync(g_conn, G_DBUS_PROXY_FLAGS_NONE,
BT_CHECK_PARAMETER(file_name_array, return);
/* Get the session bus. */
- g_conn = _bt_gdbus_get_session_gconn();
+ g_conn = _bt_gdbus_get_system_gconn();
retv_if(g_conn == NULL, BLUETOOTH_ERROR_INTERNAL);
client_proxy = g_dbus_proxy_new_sync(g_conn, G_DBUS_PROXY_FLAGS_NONE,