]> Dogcows Code - chaz/openbox/commitdiff
close the channel by unref'ing it
authorDana Jansens <danakj@orodu.net>
Wed, 19 Mar 2003 07:34:31 +0000 (07:34 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 19 Mar 2003 07:34:31 +0000 (07:34 +0000)
openbox/themerc.c

index b79fc6e16e1b659d9a1ecc971a7aa7a706897108..bcc669e592e4d4873cb86a5039f5dc8cfbddf570 100644 (file)
@@ -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 */
This page took 0.025651 seconds and 4 git commands to generate.