From 10acbe9f7b47a126872d7968b3f659b42557697c Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Mon, 16 Jul 2007 10:12:32 +0000 Subject: [PATCH] only register one save MIME handler. Fixes bug #457045. 2007-07-16 Sven Neumann * plug-ins/common/png.c: only register one save MIME handler. Fixes bug #457045. svn path=/trunk/; revision=22936 --- ChangeLog | 5 +++++ plug-ins/common/png.c | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4d46274b7a..366419e89c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-07-16 Sven Neumann + + * plug-ins/common/png.c: only register one save MIME handler. + Fixes bug #457045. + 2007-07-15 Martin Nordholts * app/tools/gimprectangletool.c (struct diff --git a/plug-ins/common/png.c b/plug-ins/common/png.c index 587a056105..01cd0d5d6b 100644 --- a/plug-ins/common/png.c +++ b/plug-ins/common/png.c @@ -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 , " @@ -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) "