mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-23 02:17:51 +02:00
Use g_set_error_literal where appropriate. Patch from bug #535947.
svn path=/trunk/; revision=7051
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user