/**
* g_file_new_tmp:
- * @template: (type filename) (allow-none): Template for the file
+ * @tmpl: (type filename) (allow-none): Template for the file
* name, as in g_file_open_tmp(), or %NULL for a default template.
* @iostream: (out): on return, a #GFileIOStream for the created file.
* @error: a #GError, or %NULL
* Free the returned object with g_object_unref().
**/
GFile *
-g_file_new_tmp (const char *template,
+g_file_new_tmp (const char *tmpl,
GFileIOStream **iostream,
GError **error)
{
GFile *file;
GFileOutputStream *output;
- g_return_val_if_fail (template != NULL, NULL);
+ g_return_val_if_fail (tmpl != NULL, NULL);
g_return_val_if_fail (iostream != NULL, NULL);
- fd = g_file_open_tmp (template, &path, error);
+ fd = g_file_open_tmp (tmpl, &path, error);
if (fd == -1)
return NULL;
GFile * g_file_new_for_path (const char *path);
GFile * g_file_new_for_uri (const char *uri);
GFile * g_file_new_for_commandline_arg (const char *arg);
-GFile * g_file_new_tmp (const char *template,
+GFile * g_file_new_tmp (const char *tmpl,
GFileIOStream **iostream,
GError **error);
GFile * g_file_parse_name (const char *parse_name);