*** empty log message ***

This commit is contained in:
Marc Lehmann 1999-10-24 21:27:29 +00:00
parent e39f959976
commit 1a2becb0b7
4 changed files with 51 additions and 0 deletions

View File

@ -1,3 +1,9 @@
Sun Oct 24 23:22:09 CEST 1999 Marc Lehmann <pcg@goof.com>
* libgimp/gimpcompat.h: New file.
* libgimp/gimp.h: Include it.
* libgimp/Makefile.am: Add gimpcompat.h.
Sun Oct 24 23:13:26 CEST 1999 Marc Lehmann <pcg@goof.com>
* libgimp/gimp.h: fixed indentation by special request of Sven.

View File

@ -110,6 +110,7 @@ gimpinclude_HEADERS = \
color_selector.h \
gimp.h \
gimpchainbutton.h \
gimpcompat.h \
gimpenums.h \
gimpenv.h \
gimpexport.h \

View File

@ -28,6 +28,7 @@
#include "libgimp/parasite.h"
#include "libgimp/parasiteP.h"
#include "libgimp/gimpunit.h"
#include "libgimp/gimpcompat.h" /* to be removed in 1.3 */
#ifdef G_OS_WIN32
# ifdef LIBGIMP_COMPILATION

43
libgimp/gimpcompat.h Normal file
View File

@ -0,0 +1,43 @@
/*
* 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 Library 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 Library 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 __GIMPCOMPAT_H__
#define __GIMPCOMPAT_H__
/* some compatibility defines for older plug-ins */
#define gimp_attach_parasite gimp_parasite_attach
#define gimp_detach_parasite gimp_parasite_detach
#define gimp_find_parasite gimp_parasite_find
#define gimp_image_attach_parasite gimp_image_parasite_attach
#define gimp_image_detach_parasite gimp_image_parasite_detach
#define gimp_image_find_parasite gimp_image_parasite_find
#define gimp_drawable_attach_parasite gimp_drawable_parasite_attach
#define gimp_drawable_detach_parasite gimp_drawable_parasite_detach
#define gimp_drawable_channel gimp_drawable_is_channel
#define gimp_drawable_gray gimp_drawable_is_gray
#define gimp_drawable_color gimp_drawable_is_rgb
#define gimp_drawable_indexed gimp_drawable_is_indexed
#define gimp_drawable_layer gimp_drawable_is_layer
#define gimp_drawable_layer_mask gimp_drawable_is_layer_mask
#define gimp_image_disable_undo gimp_image_undo_disable
#define gimp_image_enable_undo gimp_image_undo_enable
#define gimp_image_freeze_undo gimp_image_undo_freeze
#define gimp_image_thaw_undo gimp_image_undo_thaw
#endif /* __GIMPCOMPAT_H__ */