#include <unistd.h>
#include <stdarg.h>
-#include <libsyscommon/dbus-system.h>
+#include <libsyscommon/libgdbus.h>
#include <dlog.h>
#include <runtime_info.h>
_D("Process %d: Sending dbus message to resourced for %s info",
getpid(), dbus_info[type].caption);
- ret_dbus = dbus_handle_method_sync_with_reply_var(RESOURCED_BUS_NAME,
+ ret_dbus = gdbus_call_sync_with_reply(RESOURCED_BUS_NAME,
RESOURCED_USAGE_OBJECT_NAME,
RESOURCED_USAGE_INTERFACE_NAME,
dbus_info[type].method_name,