[gimp] libgimp: remove gimp_register_thumbnail_loader()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimp: remove gimp_register_thumbnail_loader()
- Date: Sat, 24 Aug 2019 00:38:36 +0000 (UTC)
commit 75e708b3197911e08686712b97716caaa85b85af
Author: Michael Natterer <mitch gimp org>
Date: Sat Aug 24 02:38:09 2019 +0200
libgimp: remove gimp_register_thumbnail_loader()
libgimp/gimp.def | 1 -
libgimp/gimplegacy.c | 27 ---------------------------
libgimp/gimplegacy.h | 2 --
3 files changed, 30 deletions(-)
---
diff --git a/libgimp/gimp.def b/libgimp/gimp.def
index b825eff1ae..b6af832e74 100644
--- a/libgimp/gimp.def
+++ b/libgimp/gimp.def
@@ -748,7 +748,6 @@ EXPORTS
gimp_register_load_handler
gimp_register_magic_load_handler
gimp_register_save_handler
- gimp_register_thumbnail_loader
gimp_run_procedure_array
gimp_save_procedure_get_type
gimp_save_procedure_new
diff --git a/libgimp/gimplegacy.c b/libgimp/gimplegacy.c
index f33de88e2e..558ca21286 100644
--- a/libgimp/gimplegacy.c
+++ b/libgimp/gimplegacy.c
@@ -515,33 +515,6 @@ gimp_register_file_handler_remote (const gchar *procedure_name)
return _gimp_register_file_handler_remote (procedure_name);
}
-/**
- * gimp_register_thumbnail_loader:
- * @load_proc: The name of the procedure the thumbnail loader with.
- * @thumb_proc: The name of the thumbnail load procedure.
- *
- * Associates a thumbnail loader with a file load procedure.
- *
- * Some file formats allow for embedded thumbnails, other file formats
- * contain a scalable image or provide the image data in different
- * resolutions. A file plug-in for such a format may register a special
- * procedure that allows GIMP to load a thumbnail preview of the image.
- * This procedure is then associated with the standard load procedure
- * using this function.
- *
- * Returns: TRUE on success.
- *
- * Since: 2.2
- **/
-gboolean
-gimp_register_thumbnail_loader (const gchar *load_proc,
- const gchar *thumb_proc)
-{
- ASSERT_NO_PLUG_IN_EXISTS (G_STRFUNC);
-
- return _gimp_register_thumbnail_loader (load_proc, thumb_proc);
-}
-
/* private functions */
diff --git a/libgimp/gimplegacy.h b/libgimp/gimplegacy.h
index 143f467c9e..5721311d17 100644
--- a/libgimp/gimplegacy.h
+++ b/libgimp/gimplegacy.h
@@ -281,8 +281,6 @@ gboolean gimp_register_save_handler (const gchar *procedure_name,
gboolean gimp_register_file_handler_mime (const gchar *procedure_name,
const gchar *mime_types);
gboolean gimp_register_file_handler_remote (const gchar *procedure_name);
-gboolean gimp_register_thumbnail_loader (const gchar *load_proc,
- const gchar *thumb_proc);
#endif /* GIMP_DISABLE_COMPAT_CRUFT */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]