Commit 2fa9b8f0 authored by Michael Natterer's avatar Michael Natterer 😴

pdb: forgot to change an URI to GFile in gimp_file_load()

parent 77731d1e
Pipeline #114150 passed with stages
in 24 minutes and 26 seconds
......@@ -78,9 +78,8 @@ file_load_invoker (GimpProcedure *procedure,
g_value_transform (gimp_value_array_index (args, 0),
gimp_value_array_index (new_args, 0));
g_value_take_string (gimp_value_array_index (new_args, 1),
g_file_get_uri (file));
g_value_transform (gimp_value_array_index (args, 1),
gimp_value_array_index (new_args, 1));
for (i = 2; i < proc->num_args; i++)
if (G_IS_PARAM_SPEC_STRING (proc->args[i]))
......
......@@ -76,9 +76,8 @@ HELP
g_value_transform (gimp_value_array_index (args, 0),
gimp_value_array_index (new_args, 0));
g_value_take_string (gimp_value_array_index (new_args, 1),
g_file_get_uri (file));
g_value_transform (gimp_value_array_index (args, 1),
gimp_value_array_index (new_args, 1));
for (i = 2; i < proc->num_args; i++)
if (G_IS_PARAM_SPEC_STRING (proc->args[i]))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment