mirror of https://github.com/GNOME/gimp.git
libgimp: remove gimp_register_magic_load_handler()
This commit is contained in:
parent
10b798c198
commit
2599d79292
|
@ -749,7 +749,6 @@ EXPORTS
|
|||
gimp_progress_update
|
||||
gimp_quit
|
||||
gimp_register_file_handler_mime
|
||||
gimp_register_magic_load_handler
|
||||
gimp_register_save_handler
|
||||
gimp_run_procedure_array
|
||||
gimp_save_procedure_get_type
|
||||
|
|
|
@ -392,32 +392,6 @@ gimp_plugin_menu_register (const gchar *procedure_name,
|
|||
return _gimp_plugin_menu_register (procedure_name, menu_path);
|
||||
}
|
||||
|
||||
/**
|
||||
* gimp_register_magic_load_handler:
|
||||
* @procedure_name: The name of the procedure to be used for loading.
|
||||
* @extensions: comma separated list of extensions this handler can load (i.e. "jpg,jpeg").
|
||||
* @prefixes: comma separated list of prefixes this handler can load (i.e. "http:,ftp:").
|
||||
* @magics: comma separated list of magic file information this handler can load (i.e. "0,string,GIF").
|
||||
*
|
||||
* Registers a file load handler procedure.
|
||||
*
|
||||
* Registers a procedural database procedure to be called to load files
|
||||
* of a particular file format using magic file information.
|
||||
*
|
||||
* Returns: TRUE on success.
|
||||
**/
|
||||
gboolean
|
||||
gimp_register_magic_load_handler (const gchar *procedure_name,
|
||||
const gchar *extensions,
|
||||
const gchar *prefixes,
|
||||
const gchar *magics)
|
||||
{
|
||||
ASSERT_NO_PLUG_IN_EXISTS (G_STRFUNC);
|
||||
|
||||
return _gimp_register_magic_load_handler (procedure_name,
|
||||
extensions, prefixes, magics);
|
||||
}
|
||||
|
||||
/**
|
||||
* gimp_register_save_handler:
|
||||
* @procedure_name: The name of the procedure to be used for saving.
|
||||
|
|
|
@ -268,10 +268,6 @@ gboolean gimp_plugin_menu_register (const gchar *procedure_name,
|
|||
/* gimp_fileops API that should now be done by using GimpFileProcedure
|
||||
*/
|
||||
|
||||
gboolean gimp_register_magic_load_handler (const gchar *procedure_name,
|
||||
const gchar *extensions,
|
||||
const gchar *prefixes,
|
||||
const gchar *magics);
|
||||
gboolean gimp_register_save_handler (const gchar *procedure_name,
|
||||
const gchar *extensions,
|
||||
const gchar *prefixes);
|
||||
|
|
Loading…
Reference in New Issue