summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-11-03 14:58:19 +0100
committerDan Williams <dcbw@redhat.com>2014-11-04 12:02:21 -0600
commitb15a00aed1a8c9ef61e34321156250989cb3fd0d (patch)
treea14372ddac01ad9e03c7f69a49bf3a15617284ed
parentcb6a9df382420099f54c33e2a089054332dabc00 (diff)
downloadNetworkManager-b15a00aed1a8c9ef61e34321156250989cb3fd0d.tar.gz
fixup! vpn/core: move VPN gateway route between devices when routing changes
-rw-r--r--src/nm-active-connection.c2
-rw-r--r--src/nm-active-connection.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/nm-active-connection.c b/src/nm-active-connection.c
index 2f633405a2..73925659df 100644
--- a/src/nm-active-connection.c
+++ b/src/nm-active-connection.c
@@ -1032,7 +1032,7 @@ nm_active_connection_class_init (NMActiveConnectionClass *ac_class)
G_PARAM_STATIC_STRINGS));
signals[DEVICE_CHANGED] =
- g_signal_new ("device-changed",
+ g_signal_new (NM_ACTIVE_CONNECTION_DEVICE_CHANGED,
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (NMActiveConnectionClass, device_changed),
diff --git a/src/nm-active-connection.h b/src/nm-active-connection.h
index 8afbfe037e..710cfeed9f 100644
--- a/src/nm-active-connection.h
+++ b/src/nm-active-connection.h
@@ -56,6 +56,9 @@
#define NM_ACTIVE_CONNECTION_INT_MASTER "int-master"
#define NM_ACTIVE_CONNECTION_INT_MASTER_READY "int-master-ready"
+/* Internal signals*/
+#define NM_ACTIVE_CONNECTION_DEVICE_CHANGED "device-changed"
+
struct _NMActiveConnection {
GObject parent;
};