Commit 24d9962e authored by Edric Milaret's avatar Edric Milaret Committed by Guillaume Roguez
Browse files

gnome: fix compilation on gnome 3.16.1

Refs #72584

(cherry picked from commit 66c50a32)
Change-Id: I975c2423f973c1bd834a95f796bf5e8d797bc905
parent b37872c5
......@@ -67,9 +67,14 @@ registry_cb(G_GNUC_UNUSED GObject *source, GAsyncResult *result, GCancellable *c
ESource *source = E_SOURCE(l->data);
/* try to connect to each source ansynch */
e_book_client_connect(source, WAIT_FOR_CONNECTED_SECONDS, cancellable, (GAsyncReadyCallback)client_cb, NULL);
e_book_client_connect(source, cancellable, (GAsyncReadyCallback)client_cb, NULL);
e_book_client_connect(source, cancellable, (GAsyncReadyCallback)client_cb, NULL);
g_list_free_full(list, g_object_unref);
......@@ -69,7 +69,7 @@ public:
* authentication requests. In case the backend will not connect within the
* set interval, then it is opened in an offline mode. A special value -1
* can be used to not wait for the connected state at all.
* */
constexpr static guint32 WAIT_FOR_CONNECTED_SECONDS {5};
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment