app: don't use g_file_peek_path() in splash.c
... use g_file_get_path() instead. g_file_peek_path() was added in GLib 2.56, but gimp-2-10 only requires 2.54.
This commit is contained in:
@ -568,7 +568,15 @@ splash_image_load_from_file (GFile *file,
|
||||
gboolean is_svg = FALSE;
|
||||
|
||||
if (be_verbose)
|
||||
g_printerr ("Trying splash '%s' ... ", g_file_peek_path (file));
|
||||
{
|
||||
char *path;
|
||||
|
||||
path = g_file_get_path (file);
|
||||
|
||||
g_printerr ("Trying splash '%s' ... ", path);
|
||||
|
||||
g_free (path);
|
||||
}
|
||||
|
||||
info = g_file_query_info (file,
|
||||
G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE,
|
||||
|
Reference in New Issue
Block a user