mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
Bug 633356 - (GDBus) Make G_MAXINT mean no timeout
Don't register a timeout function in the case that G_MAXINT is given for the timeout length.
This commit is contained in:
@@ -2214,7 +2214,8 @@ get_destination_for_call (GDBusProxy *proxy)
|
||||
* @method_name: Name of method to invoke.
|
||||
* @parameters: A #GVariant tuple with parameters for the signal or %NULL if not passing parameters.
|
||||
* @flags: Flags from the #GDBusCallFlags enumeration.
|
||||
* @timeout_msec: The timeout in milliseconds or -1 to use the proxy default timeout.
|
||||
* @timeout_msec: The timeout in milliseconds (with %G_MAXINT meaning
|
||||
* "infinite") or -1 to use the proxy default timeout.
|
||||
* @cancellable: A #GCancellable or %NULL.
|
||||
* @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL if you don't
|
||||
* care about the result of the method invocation.
|
||||
@@ -2381,7 +2382,8 @@ g_dbus_proxy_call_finish (GDBusProxy *proxy,
|
||||
* @method_name: Name of method to invoke.
|
||||
* @parameters: A #GVariant tuple with parameters for the signal or %NULL if not passing parameters.
|
||||
* @flags: Flags from the #GDBusCallFlags enumeration.
|
||||
* @timeout_msec: The timeout in milliseconds or -1 to use the proxy default timeout.
|
||||
* @timeout_msec: The timeout in milliseconds (with %G_MAXINT meaning
|
||||
* "infinite") or -1 to use the proxy default timeout.
|
||||
* @cancellable: A #GCancellable or %NULL.
|
||||
* @error: Return location for error or %NULL.
|
||||
*
|
||||
|
Reference in New Issue
Block a user