Using glib_sys::g_io_channel_read_line(

@zbrown I’m porting this:

to rust.