[network-manager-applet/th/clang-build-fixes: 7/8] applet: fix compiler warning about enum type mismatch
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet/th/clang-build-fixes: 7/8] applet: fix compiler warning about enum type mismatch
- Date: Mon, 18 May 2015 21:57:14 +0000 (UTC)
commit 34b6bc4b8764b8fe68b37ac51fcf2b9b56228fdc
Author: Thomas Haller <thaller redhat com>
Date: Mon May 18 23:50:17 2015 +0200
applet: fix compiler warning about enum type mismatch
This bug had no consequences, as the numerical values of the
enum value are identical.
src/applet.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/applet.c b/src/applet.c
index fc5939a..7a1cb20 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]