summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-05-18 23:50:17 +0200
committerThomas Haller <thaller@redhat.com>2015-05-18 23:50:17 +0200
commit34b6bc4b8764b8fe68b37ac51fcf2b9b56228fdc (patch)
treeedbb83e0068ec0a19f7433e00243d0fa1147e6ae
parent77ad94dcc4f5ff44095ac952f8a973abc8bd5a52 (diff)
downloadnetwork-manager-applet-34b6bc4b8764b8fe68b37ac51fcf2b9b56228fdc.tar.gz
applet: fix compiler warning about enum type mismatch
This bug had no consequences, as the numerical values of the enum value are identical.
-rw-r--r--src/applet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/applet.c b/src/applet.c
index fc5939a5..7a1cb206 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -2910,7 +2910,7 @@ applet_update_icon (gpointer user_data)
GdkPixbuf *pixbuf = NULL;
NMState state;
char *dev_tip = NULL, *vpn_tip = NULL, *icon_name = NULL;
- NMVpnConnectionState vpn_state = NM_VPN_SERVICE_STATE_UNKNOWN;
+ NMVpnConnectionState vpn_state = NM_VPN_CONNECTION_STATE_UNKNOWN;
gboolean nm_running;
NMActiveConnection *active_vpn = NULL;