olpc-mesh: fix device added signal usage

The object to which the signal is connected is always the first arg.
This commit is contained in:
Dan Williams 2009-11-10 09:06:20 -08:00
parent d53574d725
commit 972b7ed70a

View file

@ -884,7 +884,7 @@ is_companion (NMDeviceOlpcMesh *self, NMDevice *other)
}
static void
device_added_cb (NMDevice *other, gpointer user_data)
device_added_cb (NMManager *manager, NMDevice *other, gpointer user_data)
{
NMDeviceOlpcMesh *self = NM_DEVICE_OLPC_MESH (user_data);