changed file_open_from_command_line() to deal with a single filename only.
2007-03-27 Sven Neumann <sven@gimp.org> * app/file/file-open.[ch]: changed file_open_from_command_line() to deal with a single filename only. * app/widgets/gimpdbusservice.[ch] * app/widgets/dbus-service.xml: changed the D-Bus Open method to take only a single filename. * app/app.c * app/main.c: changed accordingly. svn path=/trunk/; revision=22181
This commit is contained in:

committed by
Sven Neumann

parent
3ab0abce3c
commit
518b13d17b
@ -220,7 +220,12 @@ app_run (const gchar *full_prog_name,
|
||||
/* Load the images given on the command-line.
|
||||
*/
|
||||
if (filenames)
|
||||
file_open_from_command_line (gimp, filenames);
|
||||
{
|
||||
gint i;
|
||||
|
||||
for (i = 0; filenames[i] != NULL; i++)
|
||||
file_open_from_command_line (gimp, filenames[i]);
|
||||
}
|
||||
|
||||
#ifndef GIMP_CONSOLE_COMPILATION
|
||||
if (! no_interface)
|
||||
|
Reference in New Issue
Block a user