[gimp/gimp-2-8] Bug 677733 - Export image: duplicate list item for TIFF export



commit 855246391fc817d5cac3495d79667f39b49e9e70
Author: Michael Natterer <mitch gimp org>
Date:   Thu Nov 1 19:23:44 2012 +0100

    Bug 677733 - Export image: duplicate list item for TIFF export
    
    Don't mark a procedure as file procedure just because a mime-type or
    thumbnail loader is registered for it. Only registering as load or
    save handler should set the file_proc flag. This prevents plug-ins
    from doing wrong things and would also fix the behavior fixed in the
    commits below.
    (cherry picked from commit dcaba4f1d1e29a74743ff19f3019a4e5920015f0)

 app/plug-in/gimppluginprocedure.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/app/plug-in/gimppluginprocedure.c b/app/plug-in/gimppluginprocedure.c
index 52a2b4b..27853f0 100644
--- a/app/plug-in/gimppluginprocedure.c
+++ b/app/plug-in/gimppluginprocedure.c
@@ -930,8 +930,6 @@ gimp_plug_in_procedure_set_mime_type (GimpPlugInProcedure *proc,
 {
   g_return_if_fail (GIMP_IS_PLUG_IN_PROCEDURE (proc));
 
-  proc->file_proc = TRUE;
-
   if (proc->mime_type)
     g_free (proc->mime_type);
 
@@ -944,8 +942,6 @@ gimp_plug_in_procedure_set_thumb_loader (GimpPlugInProcedure *proc,
 {
   g_return_if_fail (GIMP_IS_PLUG_IN_PROCEDURE (proc));
 
-  proc->file_proc = TRUE;
-
   if (proc->thumb_loader)
     g_free (proc->thumb_loader);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]