[gimp] libgimp: remove gimp_register_magic_load_handler()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimp: remove gimp_register_magic_load_handler()
- Date: Tue, 27 Aug 2019 12:48:25 +0000 (UTC)
commit 2599d79292d04665569f958e4f46c288ff3f985b
Author: Michael Natterer <mitch gimp org>
Date: Tue Aug 27 14:48:08 2019 +0200
libgimp: remove gimp_register_magic_load_handler()
libgimp/gimp.def | 1 -
libgimp/gimplegacy.c | 26 --------------------------
libgimp/gimplegacy.h | 4 ----
3 files changed, 31 deletions(-)
---
diff --git a/libgimp/gimp.def b/libgimp/gimp.def
index c3232b395e..d5e6140ac2 100644
--- a/libgimp/gimp.def
+++ b/libgimp/gimp.def
@@ -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
diff --git a/libgimp/gimplegacy.c b/libgimp/gimplegacy.c
index 73bed2f8ea..f1344d6cbf 100644
--- a/libgimp/gimplegacy.c
+++ b/libgimp/gimplegacy.c
@@ -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.
diff --git a/libgimp/gimplegacy.h b/libgimp/gimplegacy.h
index 7c0aba3736..01ab108e23 100644
--- a/libgimp/gimplegacy.h
+++ b/libgimp/gimplegacy.h
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]