gio: The tmpl parameter to g_file_new_tmp can be NULL

Fixes: https://bugzilla.gnome.org/676208
This commit is contained in:
Debarshi Ray 2012-05-17 06:43:54 +02:00
parent 7cadf4f15f
commit 6e32f0a601

View File

@ -5937,7 +5937,6 @@ g_file_new_tmp (const char *tmpl,
GFile *file;
GFileOutputStream *output;
g_return_val_if_fail (tmpl != NULL, NULL);
g_return_val_if_fail (iostream != NULL, NULL);
fd = g_file_open_tmp (tmpl, &path, error);