[gimp] libgimp: remove more cruft that is now unused
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimp: remove more cruft that is now unused
- Date: Tue, 13 Aug 2019 18:38:23 +0000 (UTC)
commit 91ecb6317a87e7a693ca0c8041bff30dfd557eb4
Author: Michael Natterer <mitch gimp org>
Date: Tue Aug 13 20:38:01 2019 +0200
libgimp: remove more cruft that is now unused
libgimp/gimp.def | 2 --
libgimp/gimplegacy.c | 48 ------------------------------------------------
libgimp/gimplegacy.h | 8 --------
3 files changed, 58 deletions(-)
---
diff --git a/libgimp/gimp.def b/libgimp/gimp.def
index 50c5fd0141..ec82e01875 100644
--- a/libgimp/gimp.def
+++ b/libgimp/gimp.def
@@ -657,10 +657,8 @@ EXPORTS
gimp_plug_in_set_help_domain
gimp_plug_in_set_pdb_error_handler
gimp_plug_in_set_translation_domain
- gimp_plugin_get_pdb_error_handler
gimp_plugin_icon_register
gimp_plugin_menu_register
- gimp_plugin_set_pdb_error_handler
gimp_procedure_add_argument
gimp_procedure_add_argument_from_property
gimp_procedure_add_menu_path
diff --git a/libgimp/gimplegacy.c b/libgimp/gimplegacy.c
index ef582c8c24..381a9eb68f 100644
--- a/libgimp/gimplegacy.c
+++ b/libgimp/gimplegacy.c
@@ -923,54 +923,6 @@ _gimp_legacy_quit (void)
/* cruft from other places */
-/**
- * gimp_plugin_set_pdb_error_handler:
- * @handler: Who is responsible for handling procedure call errors.
- *
- * Sets an error handler for procedure calls.
- *
- * This procedure changes the way that errors in procedure calls are
- * handled. By default GIMP will raise an error dialog if a procedure
- * call made by a plug-in fails. Using this procedure the plug-in can
- * change this behavior. If the error handler is set to
- * %GIMP_PDB_ERROR_HANDLER_PLUGIN, then the plug-in is responsible for
- * calling gimp_get_pdb_error() and handling the error whenever one if
- * its procedure calls fails. It can do this by displaying the error
- * message or by forwarding it in its own return values.
- *
- * Returns: TRUE on success.
- *
- * Since: 2.6
- **/
-gboolean
-gimp_plugin_set_pdb_error_handler (GimpPDBErrorHandler handler)
-{
- ASSERT_NO_PLUG_IN_EXISTS (G_STRFUNC);
-
- return _gimp_plugin_set_pdb_error_handler (handler);
-}
-
-/**
- * gimp_plugin_get_pdb_error_handler:
- *
- * Retrieves the active error handler for procedure calls.
- *
- * This procedure retrieves the currently active error handler for
- * procedure calls made by the calling plug-in. See
- * gimp_plugin_set_pdb_error_handler() for details.
- *
- * Returns: Who is responsible for handling procedure call errors.
- *
- * Since: 2.6
- **/
-GimpPDBErrorHandler
-gimp_plugin_get_pdb_error_handler (void)
-{
- ASSERT_NO_PLUG_IN_EXISTS (G_STRFUNC);
-
- return _gimp_plugin_get_pdb_error_handler ();
-}
-
/**
* gimp_plugin_menu_register:
* @procedure_name: The procedure for which to install the menu path.
diff --git a/libgimp/gimplegacy.h b/libgimp/gimplegacy.h
index 546d24e4f5..2ec8ea65d2 100644
--- a/libgimp/gimplegacy.h
+++ b/libgimp/gimplegacy.h
@@ -305,14 +305,6 @@ void gimp_destroy_params (GimpParam *params,
const gchar * gimp_get_pdb_error (void);
GimpPDBStatusType gimp_get_pdb_status (void);
-/* gimp_plugin API that should now be done by using GimpPlugIn
- */
-
-gboolean gimp_plugin_set_pdb_error_handler (GimpPDBErrorHandler handler);
-GimpPDBErrorHandler
- gimp_plugin_get_pdb_error_handler (void);
-
-
/* gimp_plugin API that should now be done by using GimpProcedure
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]