From 45abba276b49e50bb2b285d84e15849be44b918f Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 18 Jan 2011 12:14:42 -0600 Subject: gatchat: Turn off buffering of GAtChat IO channels After commit d83da353702c8533c36e06ead14aaec5ba900cf4 this was causing the command queue to never run. --- gatchat/gatutil.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gatchat/gatutil.c') diff --git a/gatchat/gatutil.c b/gatchat/gatutil.c index 393d94cb..0ac20b5a 100644 --- a/gatchat/gatutil.c +++ b/gatchat/gatutil.c @@ -140,6 +140,8 @@ gboolean g_at_util_setup_io(GIOChannel *io, GIOFlags flags) G_IO_STATUS_NORMAL) return FALSE; + g_io_channel_set_buffered(io, FALSE); + if (flags & G_IO_FLAG_SET_MASK) { io_flags = g_io_channel_get_flags(io); -- cgit v1.2.3