This patch makes gdk use the GIOChannel struct in glib that
encapsulates the file descriptor used by gdk_input_add and friends.
The patch gimp-tml-981027-0 must also be applied.
