use gimp_register_file_handler_raw to register the plugin as a RAW importer

This commit is contained in:
Alberto Griggio 2017-05-24 13:48:47 +02:00
parent 54b66b7736
commit 3c26516699
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
*
* file-rawtherapee.c -- raw file format plug-in that uses rawtherapee
* Copyright (C) 2016 Tobias Ellinghaus <me@houz.org>
* Copyright (C) 2017 Alberto Griggio <alberto.griggio@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -162,7 +162,7 @@ query (void)
gimp_register_file_handler_mime (format->load_proc,
format->mime_type);
// gimp_register_file_handler_raw (format->load_proc);
gimp_register_file_handler_raw (format->load_proc);
gimp_register_magic_load_handler (format->load_proc,
format->extensions,
"",