[evolution-mapi] Use newly introduced ENetworkMonitor



commit b3a682e44eef6513aba6f0c1dbd627102ec19930
Author: Milan Crha <mcrha redhat com>
Date:   Wed Jun 1 00:27:01 2016 +0200

    Use newly introduced ENetworkMonitor
    
    To follow network monitor settings with it.

 src/libexchangemapi/e-mapi-connection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libexchangemapi/e-mapi-connection.c b/src/libexchangemapi/e-mapi-connection.c
index 2f210db..cfdc569 100644
--- a/src/libexchangemapi/e-mapi-connection.c
+++ b/src/libexchangemapi/e-mapi-connection.c
@@ -732,7 +732,7 @@ can_reach_mapi_server (const gchar *server_address,
 
        g_return_val_if_fail (server_address != NULL, FALSE);
 
-       network_monitor = g_network_monitor_get_default ();
+       network_monitor = e_network_monitor_get_default ();
        connectable = g_network_address_new (server_address, 135);
        reachable = g_network_monitor_can_reach (network_monitor, connectable, cancellable, &local_error);
        g_object_unref (connectable);


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