Update of /cvsroot/ufraw/ufraw
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv3127

Modified Files:
        ufraw-gimp.c 
Log Message:
Fix bug #392: Only use gimp_register_magic_load_handler() with Gimp 2.9+.

Index: ufraw-gimp.c
===================================================================
RCS file: /cvsroot/ufraw/ufraw/ufraw-gimp.c,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -d -r1.82 -r1.83
--- ufraw-gimp.c        7 Jan 2014 13:00:08 -0000       1.82
+++ ufraw-gimp.c        20 Oct 2014 04:00:10 -0000      1.83
@@ -79,12 +79,16 @@
                            load_args,
                            load_return_vals);
 
+#if HAVE_GIMP_2_9
     gimp_register_magic_load_handler("file_ufraw_load",
                                      (char *)raw_ext,
                                      "",
                                      "0,string,II*\\0,"
                                      "0,string,MM\\0*,"
                                      "0,string,<?xml");
+#else
+    gimp_register_load_handler("file_ufraw_load", (char *)raw_ext, "");
+#endif
 
     gimp_install_procedure("file_ufraw_load_thumb",
                            "Loads thumbnails from digital camera raw files.",


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
ufraw-cvs mailing list
ufraw-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ufraw-cvs

Reply via email to