aboutsummaryrefslogtreecommitdiff
path: root/src/mm-port-probe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mm-port-probe.c')
-rw-r--r--src/mm-port-probe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-port-probe.c b/src/mm-port-probe.c
index c6c5897f..cfe0763c 100644
--- a/src/mm-port-probe.c
+++ b/src/mm-port-probe.c
@@ -1406,7 +1406,7 @@ mm_port_probe_run (MMPortProbe *self,
ctx->at_probing_cancellable_linked = g_cancellable_connect (cancellable,
(GCallback) at_cancellable_cancel,
g_object_ref (ctx->at_probing_cancellable),
- (GDestroyNotify) g_object_unref);
+ g_object_unref);
ctx->source_id = g_idle_add ((GSourceFunc) serial_open_at, self);
return;
}