stkagent: Use infinite timeouts

for DisplayActionInformation and DisplayAction
This commit is contained in:
Denis Kenzior 2011-08-11 04:13:28 -05:00
parent 0d205a5ef1
commit d4687e9529
1 changed files with 3 additions and 3 deletions

View File

@ -1005,7 +1005,7 @@ int stk_agent_display_action_info(struct stk_agent *agent, const char *text,
DBUS_TYPE_INVALID);
if (dbus_connection_send_with_reply(conn, agent->msg, &agent->call,
0) == FALSE ||
DBUS_TIMEOUT_INFINITE) == FALSE ||
agent->call == NULL)
return -EIO;
@ -1132,8 +1132,8 @@ int stk_agent_display_action(struct stk_agent *agent,
DBUS_TYPE_INVALID);
if (dbus_connection_send_with_reply(conn, agent->msg, &agent->call,
0) == FALSE ||
agent->call == NULL)
DBUS_TIMEOUT_INFINITE) == FALSE ||
agent->call == NULL)
return -EIO;
agent->user_cb = cb;