diff options
author | Dan Williams <dcbw@redhat.com> | 2012-09-12 11:28:02 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2012-09-12 11:28:43 -0500 |
commit | 5ff70384e1bb11f2c8154e43d673f0138b9ea731 (patch) | |
tree | b935cf72eb26f16cd34ff1910396ad9a5e20186e | |
parent | 84a2910f477fc7cb7a93b61dfd9d4e6a0d573235 (diff) |
trivial: use define for supplicant interface state signal
Helps when you need to grep the code to change a signal's signature.
Otherwise you're stuck grepping for "state" which a lot of objects
have as a signal name.
-rw-r--r-- | src/nm-device-ethernet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nm-device-ethernet.c b/src/nm-device-ethernet.c index ede31cc1..cbea9efd 100644 --- a/src/nm-device-ethernet.c +++ b/src/nm-device-ethernet.c @@ -1029,7 +1029,7 @@ supplicant_interface_init (NMDeviceEthernet *self) /* Listen for it's state signals */ priv->supplicant.iface_state_id = g_signal_connect (priv->supplicant.iface, - "state", + NM_SUPPLICANT_INTERFACE_STATE, G_CALLBACK (supplicant_iface_state_cb), self); |