diff options
-rw-r--r-- | lib/ephy-network-manager-defines.h | 3 | ||||
-rw-r--r-- | src/ephy-shell.c | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/lib/ephy-network-manager-defines.h b/lib/ephy-network-manager-defines.h index 01a4263c7..31439a5f3 100644 --- a/lib/ephy-network-manager-defines.h +++ b/lib/ephy-network-manager-defines.h @@ -51,7 +51,4 @@ typedef enum { NM_STATE_CONNECTED_GLOBAL = 70 } NMState; -/* For backwards compat */ -#define NM_STATE_CONNECTED NM_STATE_CONNECTED_GLOBAL - #endif diff --git a/src/ephy-shell.c b/src/ephy-shell.c index 95e0f8635..1de265b6a 100644 --- a/src/ephy-shell.c +++ b/src/ephy-shell.c @@ -158,7 +158,7 @@ ephy_shell_sync_network_status (EphyNetworkManager *nm_proxy, single = EPHY_EMBED_SINGLE (ephy_embed_shell_get_embed_single (EPHY_EMBED_SHELL (shell))); - net_status = state == NM_STATE_CONNECTED; + net_status = state == NM_STATE_CONNECTED_GLOBAL; ephy_embed_single_set_network_status (single, net_status); } |