2008-11-12 Sven Neumann <sven@gimp.org> * app/core/Makefile.am * app/core/gimperror.[ch]: added GIMP_ERROR as general error domain. * app/core/gimpchannel.c * app/core/gimpdrawable-bucket-fill.c * app/core/gimpimage-convert.c * app/core/gimpimage-merge.c * app/core/gimpimage.c * app/core/gimplayer-floating-sel.c * app/core/gimplayer.c * app/core/gimplayermask.c * app/core/gimpselection.c * app/core/gimptooloptions.c * app/paint/gimpbrushcore.c * app/paint/gimpclone.c * app/paint/gimpheal.c * app/paint/gimppaintcore-stroke.c * app/paint/gimpperspectiveclone.c * app/paint/gimpsourcecore.c * app/tools/gimpblendtool.c * app/tools/gimpbrightnesscontrasttool.c * app/tools/gimpcolorbalancetool.c * app/tools/gimpcolorizetool.c * app/tools/gimpcurvestool.c * app/tools/gimpdesaturatetool.c * app/tools/gimpgegltool.c * app/tools/gimphuesaturationtool.c * app/tools/gimplevelstool.c * app/tools/gimpposterizetool.c * app/tools/gimpthresholdtool.c * app/vectors/gimpvectors-import.c: use GIMP_ERROR as error domain instead of 0, which is not accepted by g_set_error_literal(). * app/gui/session.c * app/menus/menus.c * app/vectors/gimpvectors-export.c * app/widgets/gimpdevices.c: use G_FILE_ERROR as error domain for file errors. svn path=/trunk/; revision=27628
34 lines
1 KiB
C
34 lines
1 KiB
C
/* GIMP - The GNU Image Manipulation Program
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef __GIMP_ERROR_H__
|
|
#define __GIMP_ERROR_H__
|
|
|
|
|
|
typedef enum
|
|
{
|
|
GIMP_FAILED, /* generic error condition */
|
|
} GimpErrorCode;
|
|
|
|
|
|
#define GIMP_ERROR (gimp_error_quark ())
|
|
|
|
GQuark gimp_error_quark (void) G_GNUC_CONST;
|
|
|
|
|
|
#endif /* __GIMP_ERROR_H__ */
|