[gimp] libgimp: remove gimp_pdb_dump() and gimp_pdb_proc_exists()



commit dbeed8985871239a2f2e6d6e880292c9f92603d7
Author: Michael Natterer <mitch gimp org>
Date:   Sun Aug 11 22:38:43 2019 +0200

    libgimp: remove gimp_pdb_dump() and gimp_pdb_proc_exists()

 libgimp/gimp.def     |  2 --
 libgimp/gimplegacy.c | 41 -----------------------------------------
 libgimp/gimplegacy.h |  2 --
 3 files changed, 45 deletions(-)
---
diff --git a/libgimp/gimp.def b/libgimp/gimp.def
index 239e3db8a6..e535a4c4d3 100644
--- a/libgimp/gimp.def
+++ b/libgimp/gimp.def
@@ -631,7 +631,6 @@ EXPORTS
        gimp_patterns_popup
        gimp_patterns_refresh
        gimp_patterns_set_popup
-       gimp_pdb_dump
        gimp_pdb_dump_to_file
        gimp_pdb_get_data
        gimp_pdb_get_data_size
@@ -640,7 +639,6 @@ EXPORTS
        gimp_pdb_get_type
        gimp_pdb_lookup_procedure
        gimp_pdb_proc_argument
-       gimp_pdb_proc_exists
        gimp_pdb_proc_info
        gimp_pdb_proc_return_value
        gimp_pdb_procedure_exists
diff --git a/libgimp/gimplegacy.c b/libgimp/gimplegacy.c
index 4596cf9986..1c11b740df 100644
--- a/libgimp/gimplegacy.c
+++ b/libgimp/gimplegacy.c
@@ -1514,26 +1514,6 @@ gimp_pdb_temp_name (void)
   return _gimp_pdb_temp_name ();
 }
 
-/**
- * gimp_pdb_dump:
- * @filename: The dump filename.
- *
- * Dumps the current contents of the procedural database
- *
- * This procedure dumps the contents of the procedural database to the
- * specified file. The file will contain all of the information
- * provided for each registered procedure.
- *
- * Returns: TRUE on success.
- **/
-gboolean
-gimp_pdb_dump (const gchar *filename)
-{
-  ASSERT_NO_PLUG_IN_EXISTS (G_STRFUNC);
-
-  return _gimp_pdb_dump (filename);
-}
-
 /**
  * gimp_pdb_query:
  * @name: The regex for procedure name.
@@ -1584,27 +1564,6 @@ gimp_pdb_query (const gchar   *name,
                           num_matches, procedure_names);
 }
 
-/**
- * gimp_pdb_proc_exists:
- * @procedure_name: The procedure name.
- *
- * Checks if the specified procedure exists in the procedural database
- *
- * This procedure checks if the specified procedure is registered in
- * the procedural database.
- *
- * Returns: Whether a procedure of that name is registered.
- *
- * Since: 2.6
- **/
-gboolean
-gimp_pdb_proc_exists (const gchar *procedure_name)
-{
-  ASSERT_NO_PLUG_IN_EXISTS (G_STRFUNC);
-
-  return _gimp_pdb_proc_exists (procedure_name);
-}
-
 /**
  * gimp_pdb_proc_info:
  * @procedure_name: The procedure name.
diff --git a/libgimp/gimplegacy.h b/libgimp/gimplegacy.h
index 738ff41949..eec352a0e4 100644
--- a/libgimp/gimplegacy.h
+++ b/libgimp/gimplegacy.h
@@ -378,7 +378,6 @@ gboolean   gimp_register_thumbnail_loader      (const gchar *load_proc,
  */
 
 gchar    * gimp_pdb_temp_name     (void);
-gboolean   gimp_pdb_dump          (const gchar      *filename);
 gboolean   gimp_pdb_query         (const gchar      *name,
                                    const gchar      *blurb,
                                    const gchar      *help,
@@ -388,7 +387,6 @@ gboolean   gimp_pdb_query         (const gchar      *name,
                                    const gchar      *proc_type,
                                    gint             *num_matches,
                                    gchar          ***procedure_names);
-gboolean   gimp_pdb_proc_exists   (const gchar      *procedure_name);
 gboolean   gimp_pdb_proc_info     (const gchar      *procedure_name,
                                    gchar           **blurb,
                                    gchar           **help,


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