/* Returns: (transfer none): the filename of the module  */
const gchar* g_module_name(GModule *module)
/* Returns: (transfer none): the filename of the module  */
const gchar* g_module_name(GModule *module)
{
  g_return_val_if_fail (module != NULL, NULL);
  if (module == main_module)
    return "main";
  return module->file_name;
}