#include "bt-service-util.h"
#include "bt-service-obex-agent.h"
#include "bt-service-obex-server.h"
-#include "marshal.h"
static GDBusConnection *conn = NULL;
static GDBusConnection *auth_reply_conn = NULL;
GError *error = NULL;
if (conn == NULL) {
- conn = g_bus_get_sync(G_BUS_TYPE_SYSTEM, NULL, &error);
+ conn = g_bus_get_sync(G_BUS_TYPE_SESSION, NULL, &error);
if (error != NULL) {
BT_ERR("Fail to get dbus: %s", error->message);
g_error_free(error);
retv_if(info == NULL, FALSE);
- proxy = g_dbus_proxy_new_for_bus_sync(G_BUS_TYPE_SYSTEM,
+ proxy = g_dbus_proxy_new_for_bus_sync(G_BUS_TYPE_SESSION,
G_DBUS_PROXY_FLAGS_NONE,
NULL,
BT_OBEX_SERVICE_NAME,