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.
This commit is contained in:
Dan Williams 2012-09-12 11:28:02 -05:00
parent 84a2910f47
commit 5ff70384e1

View file

@ -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);