port-probe: buffer_full_id is a signal handler, not a GSource

This commit is contained in:
Aleksander Morgado
2014-01-25 20:56:01 +01:00
parent 93108fdb60
commit a282237ae5

View File

@@ -367,8 +367,8 @@ port_probe_run_task_complete (PortProbeRunTask *task,
{
/* As soon as we have the task completed, disable the buffer-full signal
* handling, so that we do not get unwanted errors reported */
if (task->buffer_full_id) {
g_source_remove (task->buffer_full_id);
if (task->serial && task->buffer_full_id) {
g_signal_handler_disconnect (task->serial, task->buffer_full_id);
task->buffer_full_id = 0;
}