From 26a1d639e73e6a247a365cb910c245c89fd6a194 Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Sun, 30 Mar 2008 13:30:52 +0000 Subject: Use g_io_channel_unref rather than g_io_channel_close for file channels. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4789 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/core/fe-core-commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fe-common/core/fe-core-commands.c') diff --git a/src/fe-common/core/fe-core-commands.c b/src/fe-common/core/fe-core-commands.c index afad131d..765e70c6 100644 --- a/src/fe-common/core/fe-core-commands.c +++ b/src/fe-common/core/fe-core-commands.c @@ -146,7 +146,7 @@ static void cmd_cat(const char *data) } g_string_free(buf, TRUE); - g_io_channel_close(handle); + g_io_channel_unref(handle); } /* SYNTAX: BEEP */ -- cgit v1.2.3