added GIMP_CONFIG_ERROR_VERSION to GimpConfigError enum.
2003-11-08 Sven Neumann <sven@gimp.org> * app/config/gimpconfig-error.h: added GIMP_CONFIG_ERROR_VERSION to GimpConfigError enum. * libgimpbase/gimpprotocol.h: renamed GP_VERSION to GIMP_PROTOCOL_VERSION. * libgimp/gimp.c * app/plug-in/plug-in-run.c: changed accordingly. * app/plug-in/plug-in-rc.[ch]: write the protocol version to the pluginrc and stop parsing when a wrong protocol version is found. * app/plug-in/plug-ins.c: pass a GError to plug_in_rc_parse().
This commit is contained in:
committed by
Sven Neumann
parent
a868b35310
commit
74c8218a3f
@ -24,10 +24,11 @@
|
||||
|
||||
typedef enum
|
||||
{
|
||||
GIMP_CONFIG_ERROR_OPEN, /* open failed */
|
||||
GIMP_CONFIG_ERROR_OPEN_ENOENT, /* file does not exist */
|
||||
GIMP_CONFIG_ERROR_WRITE, /* write failed */
|
||||
GIMP_CONFIG_ERROR_PARSE /* parser error */
|
||||
GIMP_CONFIG_ERROR_OPEN, /* open failed */
|
||||
GIMP_CONFIG_ERROR_OPEN_ENOENT, /* file does not exist */
|
||||
GIMP_CONFIG_ERROR_WRITE, /* write failed */
|
||||
GIMP_CONFIG_ERROR_PARSE, /* parser error */
|
||||
GIMP_CONFIG_ERROR_VERSION /* parser failed due to version mismatch */
|
||||
} GimpConfigError;
|
||||
|
||||
#define GIMP_CONFIG_ERROR (gimp_config_error_quark ())
|
||||
|
||||
Reference in New Issue
Block a user