[gimp] libgimp: gimp_pdb_temp_name() can also go, bye...



commit 996564116d25cbbd5a18625ecb2f65183ca962ae
Author: Michael Natterer <mitch gimp org>
Date:   Wed Aug 14 19:43:54 2019 +0200

    libgimp: gimp_pdb_temp_name() can also go, bye...

 libgimp/gimp.def     |  1 -
 libgimp/gimplegacy.c | 19 -------------------
 libgimp/gimplegacy.h |  5 -----
 3 files changed, 25 deletions(-)
---
diff --git a/libgimp/gimp.def b/libgimp/gimp.def
index 3eb48cfc06..a7f9583c2e 100644
--- a/libgimp/gimp.def
+++ b/libgimp/gimp.def
@@ -637,7 +637,6 @@ EXPORTS
        gimp_pdb_run_procedure_array
        gimp_pdb_run_procedure_valist
        gimp_pdb_set_data
-       gimp_pdb_temp_name
        gimp_pdb_temp_procedure_name
        gimp_pencil
        gimp_plug_in_add_menu_branch
diff --git a/libgimp/gimplegacy.c b/libgimp/gimplegacy.c
index cdd51fddf4..ceaddbd2b8 100644
--- a/libgimp/gimplegacy.c
+++ b/libgimp/gimplegacy.c
@@ -703,25 +703,6 @@ gimp_register_thumbnail_loader (const gchar *load_proc,
   return _gimp_register_thumbnail_loader (load_proc, thumb_proc);
 }
 
-/**
- * gimp_pdb_temp_name:
- *
- * Generates a unique temporary PDB name.
- *
- * This procedure generates a temporary PDB entry name that is
- * guaranteed to be unique.
- *
- * Returns: (transfer full): A unique temporary name for a temporary PDB entry.
- *          The returned value must be freed with g_free().
- **/
-gchar *
-gimp_pdb_temp_name (void)
-{
-  ASSERT_NO_PLUG_IN_EXISTS (G_STRFUNC);
-
-  return _gimp_pdb_temp_name ();
-}
-
 
 /*  private functions  */
 
diff --git a/libgimp/gimplegacy.h b/libgimp/gimplegacy.h
index bd73c828a3..2318133c63 100644
--- a/libgimp/gimplegacy.h
+++ b/libgimp/gimplegacy.h
@@ -294,11 +294,6 @@ gboolean   gimp_register_file_handler_uri      (const gchar *procedure_name);
 gboolean   gimp_register_thumbnail_loader      (const gchar *load_proc,
                                                 const gchar *thumb_proc);
 
-/* pdb stuff that should now be done using GimpPDB
- */
-
-gchar    * gimp_pdb_temp_name (void);
-
 
 #endif /* GIMP_DISABLE_COMPAT_CRUFT */
 


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