mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-23 04:51:44 +00:00
7b24dd8e36
2006-01-30 Sven Neumann <sven@gimp.org> * app/config/config-types.h: moved GIMP_PARAM defines from here ... * libgimpbase/gimpparam.h: ... to this new files. * libgimpbase/Makefile.am * libgimpbase/gimpbasetypes.h: include the new header file. * libgimp/gimpfontselectbutton.c * libgimpconfig/gimpcolorconfig.c * libgimpthumb/gimpthumbnail.c * libgimpwidgets/gimpcellrenderercolor.c * libgimpwidgets/gimpcellrenderertoggle.c * libgimpwidgets/gimpcolorarea.c * libgimpwidgets/gimpcolorbutton.c * libgimpwidgets/gimpcolordisplay.c * libgimpwidgets/gimpcontroller.c * libgimpwidgets/gimpdialog.c * libgimpwidgets/gimpenumcombobox.c * libgimpwidgets/gimpintcombobox.c * libgimpwidgets/gimppageselector.c * libgimpwidgets/gimppreview.c * libgimpwidgets/gimppreviewarea.c * libgimpwidgets/gimpzoommodel.c * modules/cdisplay_colorblind.c * modules/cdisplay_gamma.c * modules/cdisplay_highcontrast.c * modules/cdisplay_lcms.c * modules/cdisplay_proof.c * modules/controller_linux_input.c * modules/controller_midi.c: use the GIMP_PARAM defines to avoid unnecessary string allocations.
38 lines
1.5 KiB
C
38 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 2 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, write to the
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
* Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef __GIMP_PARAM_H__
|
|
#define __GIMP_PARAM_H__
|
|
|
|
/* For information look into the C source or the html documentation */
|
|
|
|
|
|
#define GIMP_PARAM_STATIC_STRINGS (G_PARAM_STATIC_NAME | \
|
|
G_PARAM_STATIC_NICK | \
|
|
G_PARAM_STATIC_BLURB)
|
|
#define GIMP_PARAM_READABLE (G_PARAM_READABLE | \
|
|
GIMP_PARAM_STATIC_STRINGS)
|
|
#define GIMP_PARAM_WRITABLE (G_PARAM_WRITABLE | \
|
|
GIMP_PARAM_STATIC_STRINGS)
|
|
#define GIMP_PARAM_READWRITE (G_PARAM_READWRITE | \
|
|
GIMP_PARAM_STATIC_STRINGS)
|
|
|
|
|
|
#endif /* __GIMP_PARAM_H__ */
|