if (our_type == 0)
our_type = g_boxed_type_register_static ("GIOChannel",
- NULL,
(GBoxedCopyFunc) g_io_channel_ref,
- (GBoxedFreeFunc) g_io_channel_unref,
- FALSE);
+ (GBoxedFreeFunc) g_io_channel_unref);
return our_type;
}
};
/**
- * g_source_set_callback:
+ * g_source_set_closure:
* @source: the source
- * @func: a #GClosure
+ * @closure: a #GClosure
*
* Set the callback for a source as a #GClosure.
*
- * If the source is not one of the standard GLib types, the closure_callback
- * and closure_marshal fields of the GSourceFuncs structure must have been
+ * If the source is not one of the standard GLib types, the @closure_callback
+ * and @closure_marshal fields of the GSourceFuncs structure must have been
* filled in with pointers to appropriate functions.
**/
void