libgimpmodule: remove all deprecated cruft

This commit is contained in:
Michael Natterer 2018-04-28 14:09:56 +02:00
parent 1671da428c
commit 5e10894334
4 changed files with 0 additions and 33 deletions

View File

@ -393,24 +393,6 @@ gimp_module_state_name (GimpModuleState state)
return gettext (statenames[state]); return gettext (statenames[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: * gimp_module_error_quark:
* *

View File

@ -13,6 +13,5 @@ EXPORTS
gimp_module_modified gimp_module_modified
gimp_module_new gimp_module_new
gimp_module_query_module gimp_module_query_module
gimp_module_register_enum
gimp_module_set_load_inhibit gimp_module_set_load_inhibit
gimp_module_state_name gimp_module_state_name

View File

@ -221,11 +221,6 @@ void gimp_module_set_load_inhibit (GimpModule *module,
const gchar * gimp_module_state_name (GimpModuleState state); 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 */ /* GimpModuleInfo functions */

View File

@ -28,15 +28,6 @@ G_BEGIN_DECLS
/* For information look into the C source or the html documentation */ /* 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 _GimpModule GimpModule;
typedef struct _GimpModuleInfo GimpModuleInfo; typedef struct _GimpModuleInfo GimpModuleInfo;
typedef struct _GimpModuleDB GimpModuleDB; typedef struct _GimpModuleDB GimpModuleDB;