GimpThumb-error

GimpThumb-error — Error codes used by libgimpthumb

Synopsis

enum                GimpThumbError;
#define             GIMP_THUMB_ERROR
GQuark              gimp_thumb_error_quark              (void);

Description

Error codes used by libgimpthumb

Details

enum GimpThumbError

typedef enum {
  GIMP_THUMB_ERROR_OPEN,
  GIMP_THUMB_ERROR_OPEN_ENOENT,
  GIMP_THUMB_ERROR_MKDIR
} GimpThumbError;

These are the possible error codes used when a GError is set by libgimpthumb.

GIMP_THUMB_ERROR_OPEN

there was a problem opening the file

GIMP_THUMB_ERROR_OPEN_ENOENT

the file doesn't exist

GIMP_THUMB_ERROR_MKDIR

there was a problem creating a directory

GIMP_THUMB_ERROR

#define GIMP_THUMB_ERROR (gimp_thumb_error_quark ())

Identifier for the libgimpthumb error domain.


gimp_thumb_error_quark ()

GQuark              gimp_thumb_error_quark              (void);

This function is never called directly. Use GIMP_THUMB_ERROR() instead.

Returns :

the GQuark that defines the GimpThumb error domain.