mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 09:23:24 +00:00

… more robust.
GIMP_PARAM_NO_VALIDATE and GIMP_CONFIG_PARAM_DONT_COMPARE were the same
value, most likely because when GIMP_CONFIG_PARAM_DONT_COMPARE got added
(commit c5c807d191
), the comment to keep in sync
libgimpbase/gimpparamspecs.h and libgimpconfig/gimpconfig-params.h was
missed.
Instead, since libgimpconfig can include libgimpbase, do the other way
around: first non-GLib param flags are in libgimpbase, then we add a
GIMP_PARAM_FLAG_SHIFT, then we increment from it in libgimpconfig, and
finally we increment from GIMP_CONFIG_PARAM_FLAG_SHIFT if ever we add
more flags in app/ (right now GIMP_SYMMETRY_PARAM_GUI is apparently the
only one, but this may change).
45 lines
1.5 KiB
C
45 lines
1.5 KiB
C
/* LIBGIMP - The GIMP Library
|
|
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
|
|
*
|
|
* This library is free software: you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 3 of the License, or (at your option) any later version.
|
|
*
|
|
* This library 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
|
|
* Library General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library. If not, see
|
|
* <https://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef __GIMP_CONFIG_H__
|
|
#define __GIMP_CONFIG_H__
|
|
|
|
#include <gegl.h>
|
|
|
|
#include <libgimpbase/gimpbase.h>
|
|
|
|
#define __GIMP_CONFIG_H_INSIDE__
|
|
|
|
#include <libgimpconfig/gimpconfigtypes.h>
|
|
|
|
#include <libgimpconfig/gimpconfig-deserialize.h>
|
|
#include <libgimpconfig/gimpconfig-error.h>
|
|
#include <libgimpconfig/gimpconfig-iface.h>
|
|
#include <libgimpconfig/gimpconfig-params.h>
|
|
#include <libgimpconfig/gimpconfig-path.h>
|
|
#include <libgimpconfig/gimpconfig-register.h>
|
|
#include <libgimpconfig/gimpconfig-serialize.h>
|
|
#include <libgimpconfig/gimpconfig-utils.h>
|
|
#include <libgimpconfig/gimpconfigwriter.h>
|
|
#include <libgimpconfig/gimpscanner.h>
|
|
|
|
#include <libgimpconfig/gimpcolorconfig.h>
|
|
|
|
#undef __GIMP_CONFIG_H_INSIDE__
|
|
|
|
#endif /* __GIMP_CONFIG_H__ */
|