Re: gdbus-codegen



Hey,

On Wed, May 18, 2011 at 3:44 AM, Xavier Claessens <xclaesse gmail com> wrote:
> Ok, so I can temporally change the default timeout like that:
>
> g_dbus_proxy_set_default_timeout(obj, 1000);
> my_object_call_foo(obj);
> g_dbus_proxy_set_default_timeout(obj, -1);

Yup. Of course, if you use the proxy from more than one thread you
might need to use your own locking. But most apps don't do that so you
should be good...

Cheers,
David


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]