summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-10-27 15:38:24 +0100
committerThomas Haller <thaller@redhat.com>2014-10-31 21:11:22 +0100
commit7f2dab9cf037031805e284524007adf32ce26182 (patch)
treee6a55d800dc158c0cf4ed8259cd5da426fdc3c5a
parentbd3f41efc5ae60aff5040da8a0dd6af3c7f2589b (diff)
downloadnetwork-manager-applet-7f2dab9cf037031805e284524007adf32ce26182.tar.gz
applet: fix initialization of value from wrong enum type
This bug has no real consequences as NM_VPN_SERVICE_STATE_UNKNOWN and NM_VPN_CONNECTION_STATE_UNKNOWN are both numerically zero. Signed-off-by: Thomas Haller <thaller@redhat.com> (cherry picked from commit 1006f51352b4809ed4d174e9990e87cd1aba8778)
-rw-r--r--src/applet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/applet.c b/src/applet.c
index 48b5f663..5011b31e 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -2924,7 +2924,7 @@ applet_update_icon (gpointer user_data)
GdkPixbuf *pixbuf = NULL;
NMState state;
char *dev_tip = NULL, *vpn_tip = NULL;
- NMVPNConnectionState vpn_state = NM_VPN_SERVICE_STATE_UNKNOWN;
+ NMVPNConnectionState vpn_state = NM_VPN_CONNECTION_STATE_UNKNOWN;
gboolean nm_running;
NMActiveConnection *active_vpn = NULL;