[gimp/gtk3-port: 234/454] libgimpmodule: remove all deprecated cruft
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 234/454] libgimpmodule: remove all deprecated cruft
- Date: Wed, 16 May 2018 21:40:22 +0000 (UTC)
commit a7917840485435c9209782ed640d7ef91ad93280
Author: Michael Natterer <mitch gimp org>
Date: Sat Apr 28 14:09:56 2018 +0200
libgimpmodule: remove all deprecated cruft
libgimpmodule/gimpmodule.c | 18 ------------------
libgimpmodule/gimpmodule.def | 1 -
libgimpmodule/gimpmodule.h | 5 -----
libgimpmodule/gimpmoduletypes.h | 9 ---------
4 files changed, 0 insertions(+), 33 deletions(-)
---
diff --git a/libgimpmodule/gimpmodule.c b/libgimpmodule/gimpmodule.c
index 2230864..3281b55 100644
--- a/libgimpmodule/gimpmodule.c
+++ b/libgimpmodule/gimpmodule.c
@@ -394,24 +394,6 @@ gimp_module_state_name (GimpModuleState state)
}
/**
- * gimp_module_register_enum:
- * @module: a module
- * @name: the name of the new enum type
- * @const_static_values: the enum values
- *
- * This function is deprecated! Use g_type_module_register_enum() instead.
- *
- * Return value: a new enum #GType
- **/
-GType
-gimp_module_register_enum (GTypeModule *module,
- const gchar *name,
- const GEnumValue *const_static_values)
-{
- return g_type_module_register_enum (module, name, const_static_values);
-}
-
-/**
* gimp_module_error_quark:
*
* This function is never called directly. Use GIMP_MODULE_ERROR() instead.
diff --git a/libgimpmodule/gimpmodule.def b/libgimpmodule/gimpmodule.def
index 7b69018..892092c 100644
--- a/libgimpmodule/gimpmodule.def
+++ b/libgimpmodule/gimpmodule.def
@@ -13,6 +13,5 @@ EXPORTS
gimp_module_modified
gimp_module_new
gimp_module_query_module
- gimp_module_register_enum
gimp_module_set_load_inhibit
gimp_module_state_name
diff --git a/libgimpmodule/gimpmodule.h b/libgimpmodule/gimpmodule.h
index 71c63ba..e2d97be 100644
--- a/libgimpmodule/gimpmodule.h
+++ b/libgimpmodule/gimpmodule.h
@@ -221,11 +221,6 @@ void gimp_module_set_load_inhibit (GimpModule *module,
const gchar * gimp_module_state_name (GimpModuleState state);
-GIMP_DEPRECATED_FOR(g_type_module_register_enum)
-GType gimp_module_register_enum (GTypeModule *module,
- const gchar *name,
- const GEnumValue *const_static_values);
-
/* GimpModuleInfo functions */
diff --git a/libgimpmodule/gimpmoduletypes.h b/libgimpmodule/gimpmoduletypes.h
index 8cb76eb..0935f8f 100644
--- a/libgimpmodule/gimpmoduletypes.h
+++ b/libgimpmodule/gimpmoduletypes.h
@@ -28,15 +28,6 @@ G_BEGIN_DECLS
/* For information look into the C source or the html documentation */
-#ifndef GIMP_DISABLE_DEPRECATED
-/*
- * GIMP_MODULE_PARAM_SERIALIZE is deprecated, use
- * GIMP_CONFIG_PARAM_SERIALIZE instead.
- */
-#define GIMP_MODULE_PARAM_SERIALIZE (1 << (0 + G_PARAM_USER_SHIFT))
-#endif
-
-
typedef struct _GimpModule GimpModule;
typedef struct _GimpModuleInfo GimpModuleInfo;
typedef struct _GimpModuleDB GimpModuleDB;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]