Commit 94c5cd06 authored by Sven Neumann's avatar Sven Neumann
Browse files

use gimp_message() for error handling.

	* app/file/file-open.c (file_open_from_command_line): use
	gimp_message() for error handling.

svn path=/trunk/; revision=22797
parent 493c9abd
......@@ -504,9 +504,11 @@ file_open_from_command_line (Gimp *gimp,
else if (status != GIMP_PDB_CANCEL)
gchar *filename = file_utils_uri_to_utf8_filename (uri);
gchar *filename = file_utils_uri_display_name (uri);
g_message (_("Opening '%s' failed: %s"), filename, error->message);
gimp_message (gimp, NULL, GIMP_MESSAGE_ERROR,
_("Opening '%s' failed: %s"),
filename, error->message);
g_clear_error (&error);
g_free (filename);
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