From d4b6050b2d41a51af2d98d5823473d28e984d285 Mon Sep 17 00:00:00 2001
From: Nils Philippsen <nils@redhat.com>
Date: Fri, 13 Sep 2013 13:45:46 +0200
Subject: [PATCH] patch: gimp-file-load-magic
Squashed commit of the following:
commit 3c9e1846df2f3ef8be3a040c5560cd6dc66cd1b9
Author: Nils Philippsen <nils@redhat.com>
Date: Tue Sep 3 11:01:09 2013 +0200
register load handler with XML magic
commit 93541e6bf1c321f43b3d45c010215bbd53cfeda1
Author: Nils Philippsen <nils@redhat.com>
Date: Mon Aug 26 15:21:31 2013 +0200
register load handler with TIFF magic
---
ufraw-gimp.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/ufraw-gimp.c b/ufraw-gimp.c
index cf7c426..a7cbc6a 100644
--- a/ufraw-gimp.c
+++ b/ufraw-gimp.c
@@ -107,7 +107,12 @@ void query()
load_args,
load_return_vals);
- gimp_register_load_handler("file_ufraw_load", (char *)raw_ext, "");
+ gimp_register_magic_load_handler("file_ufraw_load",
+ (char *)raw_ext,
+ "",
+ "0,string,II*\\0,"
+ "0,string,MM\\0*,"
+ "0,string,<?xml");
#ifndef UFRAW_CINEPAINT
gimp_install_procedure("file_ufraw_load_thumb",
--
1.8.3.1