const char kDbusInterfaceName[] = "org.tizen.ThemeManager";
const char kDbusObjectPath[] = "/org/tizen/ThemeManager";
const char kDBusMethodSendData[] = "SendData";
+const int kTimeoutMsec = 60 * 1000;
tizen_base::Bundle ErrorResultBundle() {
tizen_base::Bundle b;
GDBusMessage* reply = g_dbus_connection_send_message_with_reply_sync(
connection_, msg, G_DBUS_SEND_MESSAGE_FLAGS_NONE,
- -1, nullptr, nullptr, &err);
+ kTimeoutMsec, nullptr, nullptr, &err);
if (reply == nullptr) {
LOG(ERROR) << "g_dbus_connection_send_message_with_reply_sync() is failed";
if (err) {
std::pair<Command, RequestBroker*> param = std::make_pair(cmd, this);
g_dbus_connection_send_message_with_reply(connection_, msg,
- G_DBUS_SEND_MESSAGE_FLAGS_NONE, -1, nullptr, nullptr,
+ G_DBUS_SEND_MESSAGE_FLAGS_NONE, kTimeoutMsec, nullptr, nullptr,
[](GObject* source_object, GAsyncResult* res, gpointer user_data) {
auto param =
static_cast<std::pair<Command, RequestBroker*>*>(user_data);