[gimp] libgimp: remove some more cruft that is no longer needed



commit 0246f3418347604b91aae78d3a83513201feb186
Author: Michael Natterer <mitch gimp org>
Date:   Wed Aug 14 10:18:34 2019 +0200

    libgimp: remove some more cruft that is no longer needed

 libgimp/gimp.def     |  2 --
 libgimp/gimplegacy.c | 40 ----------------------------------------
 libgimp/gimplegacy.h |  4 +---
 3 files changed, 1 insertion(+), 45 deletions(-)
---
diff --git a/libgimp/gimp.def b/libgimp/gimp.def
index 2037a031f9..d5d240a025 100644
--- a/libgimp/gimp.def
+++ b/libgimp/gimp.def
@@ -292,7 +292,6 @@ EXPORTS
        gimp_get_parasite_list
        gimp_get_pdb
        gimp_get_pdb_error
-       gimp_get_pdb_status
        gimp_get_plug_in
        gimp_get_progname
        gimp_getpid
@@ -708,7 +707,6 @@ EXPORTS
        gimp_quit
        gimp_register_file_handler_mime
        gimp_register_file_handler_priority
-       gimp_register_file_handler_raw
        gimp_register_file_handler_uri
        gimp_register_load_handler
        gimp_register_magic_load_handler
diff --git a/libgimp/gimplegacy.c b/libgimp/gimplegacy.c
index f949d640f4..f2600be5c5 100644
--- a/libgimp/gimplegacy.c
+++ b/libgimp/gimplegacy.c
@@ -533,23 +533,6 @@ gimp_get_pdb_error (void)
     }
 }
 
-/**
- * gimp_get_pdb_status:
- *
- * Retrieves the status from the last procedure call.
- *
- * Returns: the #GimpPDBStatusType.
- *
- * Since: 2.10
- **/
-GimpPDBStatusType
-gimp_get_pdb_status (void)
-{
-  ASSERT_NO_PLUG_IN_EXISTS (G_STRFUNC);
-
-  return pdb_error_status;
-}
-
 void
 _gimp_legacy_initialize (const GimpPlugInInfo *info,
                          GIOChannel           *read_channel,
@@ -861,29 +844,6 @@ gimp_register_file_handler_uri (const gchar *procedure_name)
   return _gimp_register_file_handler_uri (procedure_name);
 }
 
-/**
- * gimp_register_file_handler_raw:
- * @procedure_name: The name of the procedure to enable raw handling for.
- *
- * Registers a file handler procedure as capable of handling raw camera
- * files.
- *
- * Registers a file handler procedure as capable of handling raw
- * digital camera files. Use this procedure only to register raw load
- * handlers, calling it on a save handler will generate an error.
- *
- * Returns: TRUE on success.
- *
- * Since: 2.10
- **/
-gboolean
-gimp_register_file_handler_raw (const gchar *procedure_name)
-{
-  ASSERT_NO_PLUG_IN_EXISTS (G_STRFUNC);
-
-  return _gimp_register_file_handler_raw (procedure_name);
-}
-
 /**
  * gimp_register_thumbnail_loader:
  * @load_proc: The name of the procedure the thumbnail loader with.
diff --git a/libgimp/gimplegacy.h b/libgimp/gimplegacy.h
index 46dfc7aca6..4ecd3fe586 100644
--- a/libgimp/gimplegacy.h
+++ b/libgimp/gimplegacy.h
@@ -287,8 +287,7 @@ GimpValueArray * gimp_run_procedure_array (const gchar          *name,
 /* Retrieve the error message and return status for the last procedure
  * call.
  */
-const gchar       * gimp_get_pdb_error  (void);
-GimpPDBStatusType   gimp_get_pdb_status (void);
+const gchar    * gimp_get_pdb_error  (void);
 
 /* gimp_plugin API that should now be done by using GimpProcedure
  */
@@ -317,7 +316,6 @@ gboolean   gimp_register_file_handler_priority (const gchar *procedure_name,
 gboolean   gimp_register_file_handler_mime     (const gchar *procedure_name,
                                                 const gchar *mime_types);
 gboolean   gimp_register_file_handler_uri      (const gchar *procedure_name);
-gboolean   gimp_register_file_handler_raw      (const gchar *procedure_name);
 gboolean   gimp_register_thumbnail_loader      (const gchar *load_proc,
                                                 const gchar *thumb_proc);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]