server->destroy = destroy;
cond = G_IO_IN | G_IO_ERR | G_IO_HUP | G_IO_NVAL;
- g_io_add_watch_full(io, G_PRIORITY_DEFAULT, cond, server_cb, server,
+ g_io_add_watch_full(io, G_PRIORITY_HIGH, cond, server_cb, server,
(GDestroyNotify) server_remove);
}
conn->dst = dst;
cond = G_IO_OUT | G_IO_ERR | G_IO_HUP | G_IO_NVAL;
- g_io_add_watch_full(io, G_PRIORITY_DEFAULT, cond, connect_cb, conn,
+ g_io_add_watch_full(io, G_PRIORITY_HIGH, cond, connect_cb, conn,
(GDestroyNotify) connect_remove);
}
accept->destroy = destroy;
cond = G_IO_OUT | G_IO_ERR | G_IO_HUP | G_IO_NVAL;
- g_io_add_watch_full(io, G_PRIORITY_DEFAULT, cond, accept_cb, accept,
+ g_io_add_watch_full(io, G_PRIORITY_HIGH, cond, accept_cb, accept,
(GDestroyNotify) accept_remove);
}