Use libdbus' default timeout when invoking remote methods

This commit is contained in:
pd 2008-06-14 22:54:37 +02:00
parent d83c57e59d
commit 1337c658a8
2 changed files with 2 additions and 2 deletions

View file

@ -98,7 +98,7 @@ public:
bool send( const Message&, unsigned int* serial = NULL );
Message send_blocking( Message& msg, int timeout );
Message send_blocking( Message& msg, int timeout = -1);
PendingCall send_async( Message& msg, int timeout );

View file

@ -323,7 +323,7 @@ Message ObjectProxy::_invoke_method( CallMessage& call )
call.path(path().c_str());
call.destination(service().c_str());
return conn().send_blocking(call, 2000);
return conn().send_blocking(call);
}
bool ObjectProxy::handle_message( const Message& msg )