From 972b7ed70a4bc1d152beebdaa7baa22ae1b33fb1 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Tue, 10 Nov 2009 09:06:20 -0800 Subject: [PATCH] olpc-mesh: fix device added signal usage The object to which the signal is connected is always the first arg. --- src/nm-device-olpc-mesh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nm-device-olpc-mesh.c b/src/nm-device-olpc-mesh.c index 2eef45b216..fb47cf7d56 100644 --- a/src/nm-device-olpc-mesh.c +++ b/src/nm-device-olpc-mesh.c @@ -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);