mirror of https://github.com/GNOME/gimp.git
libgimpmodule: remove all deprecated cruft
This commit is contained in:
parent
1671da428c
commit
5e10894334
|
@ -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:
|
||||||
*
|
*
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue