Use g_set_error_literal where appropriate. Patch from bug #535947.

svn path=/trunk/; revision=7051
This commit is contained in:
Christian Persch
2008-06-16 16:53:58 +00:00
parent 9c50d657e5
commit 9c17697b56
33 changed files with 481 additions and 438 deletions

View File

@@ -1902,10 +1902,10 @@ g_file_read_link (const gchar *filename,
buffer = g_realloc (buffer, size);
}
#else
g_set_error (error,
G_FILE_ERROR,
G_FILE_ERROR_INVAL,
_("Symbolic links not supported"));
g_set_error_literal (error,
G_FILE_ERROR,
G_FILE_ERROR_INVAL,
_("Symbolic links not supported"));
return NULL;
#endif