/* Returns: the @channel that was passed in (since 2.6)  */
GIOChannel* g_io_channel_ref(GIOChannel *channel)
/* Returns: the @channel that was passed in (since 2.6)  */
GIOChannel* g_io_channel_ref(GIOChannel *channel)
{
  g_return_val_if_fail (channel != NULL, NULL);
  g_atomic_int_inc (&channel->ref_count);
  return channel;
}