only register one save MIME handler. Fixes bug #457045.

2007-07-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: only register one save MIME handler.
	Fixes bug #457045.

svn path=/trunk/; revision=22936
This commit is contained in:
Sven Neumann 2007-07-16 10:12:32 +00:00 committed by Sven Neumann
parent a66ea23b92
commit 10acbe9f7b
2 changed files with 6 additions and 5 deletions

View file

@ -1,3 +1,8 @@
2007-07-16 Sven Neumann <sven@gimp.org>
* plug-ins/common/png.c: only register one save MIME handler.
Fixes bug #457045.
2007-07-15 Martin Nordholts <martinn@svn.gnome.org>
* app/tools/gimprectangletool.c (struct

View file

@ -285,14 +285,12 @@ query (void)
G_N_ELEMENTS (save_args), 0,
save_args, NULL);
gimp_register_file_handler_mime (SAVE_PROC, "image/png");
gimp_install_procedure (SAVE2_PROC,
"Saves files in PNG file format",
"This plug-in saves Portable Network Graphics "
"(PNG) files. "
"This procedure adds 2 extra parameters to "
"file_png_save that allows to control whether "
"file-png-save that allows to control whether "
"image comments are saved and whether transparent "
"pixels are saved or nullified.",
"Michael Sweet <mike@easysw.com>, "
@ -307,8 +305,6 @@ query (void)
G_N_ELEMENTS (save_args2), 0,
save_args2, NULL);
gimp_register_file_handler_mime (SAVE2_PROC, "image/png");
gimp_install_procedure (SAVE_DEFAULTS_PROC,
"Saves files in PNG file format",
"This plug-in saves Portable Network Graphics (PNG) "