[gimp] Bug 677733 - Export image: duplicate list item for TIFF export
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 677733 - Export image: duplicate list item for TIFF export
- Date: Thu, 1 Nov 2012 18:26:08 +0000 (UTC)
commit dcaba4f1d1e29a74743ff19f3019a4e5920015f0
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.
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 5630a38..74fb5c7 100644
--- a/app/plug-in/gimppluginprocedure.c
+++ b/app/plug-in/gimppluginprocedure.c
@@ -936,8 +936,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);
@@ -950,8 +948,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]