From: Dana Jansens Date: Wed, 19 Mar 2003 07:34:31 +0000 (+0000) Subject: close the channel by unref'ing it X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=0a855f3e49426e29f0dd885bb1d4f5282ac6421a;p=chaz%2Fopenbox close the channel by unref'ing it --- diff --git a/openbox/themerc.c b/openbox/themerc.c index b79fc6e1..bcc669e5 100644 --- a/openbox/themerc.c +++ b/openbox/themerc.c @@ -137,7 +137,7 @@ void themerc_startup() if (chan != NULL) { parse(path, g_io_channel_unix_get_fd(chan)); g_free(path); - g_io_channel_close(chan); + g_io_channel_unref(chan); /* close the channel */ } /* non-NULL defaults */