/* Returns: a #GIOModule from given @filename, or NULL on error.  */
GIOModule* g_io_module_new(const gchar *filename)
/* Returns: a #GIOModule from given @filename, or NULL on error.  */
GIOModule* g_io_module_new(const gchar *filename)
{
  GIOModule *module;
  g_return_val_if_fail (filename != NULL, NULL);
  module = g_object_new (G_IO_TYPE_MODULE, NULL);
  module->filename = g_strdup (filename);
  return module;
}