Skip to content

Commit bfe9679

Browse files
committed
cfg/gtk.cfg: Remove incorrect GIOChannel destructors
`shutdown` and `close` methods do not actually unref the channel: The channel will not be freed until the last reference is dropped using g_io_channel_unref(). https://docs.gtk.org/glib/method.IOChannel.close.html https://docs.gtk.org/glib/method.IOChannel.shutdown.html
1 parent a5ec929 commit bfe9679

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cfg/gtk.cfg

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -631,8 +631,6 @@
631631
<alloc init="true" no-fail="true">g_io_channel_win32_new_messages</alloc>
632632
<alloc init="true" no-fail="true">g_io_channel_new_file</alloc>
633633
<use>g_io_channel_ref</use>
634-
<dealloc>g_io_channel_close</dealloc>
635-
<dealloc>g_io_channel_shutdown</dealloc>
636634
<dealloc>g_io_channel_unref</dealloc>
637635
</memory>
638636
<memory>

0 commit comments

Comments
 (0)