mirror of https://github.com/GNOME/gimp.git
plug-ins/FractalExplorer/Events.c
2002-01-30 Sven Neumann <sven@gimp.org> * plug-ins/FractalExplorer/Events.c * plug-ins/FractalExplorer/FractalExplorer.[ch] * plug-ins/FractalExplorer/Globals.c * plug-ins/common/film.c * plug-ins/common/plugindetails.c * plug-ins/fp/fp_misc.c * plug-ins/rcm/rcm_callback.c * plug-ins/rcm/rcm_misc.c: removed the ugly hacks and simply define GTK_DISABLE_DEPRECATED before including gtk.h.
This commit is contained in:
parent
b8fcfd9af1
commit
f0df9ed379
12
ChangeLog
12
ChangeLog
|
@ -1,3 +1,15 @@
|
|||
2002-01-30 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/FractalExplorer/Events.c
|
||||
* plug-ins/FractalExplorer/FractalExplorer.[ch]
|
||||
* plug-ins/FractalExplorer/Globals.c
|
||||
* plug-ins/common/film.c
|
||||
* plug-ins/common/plugindetails.c
|
||||
* plug-ins/fp/fp_misc.c
|
||||
* plug-ins/rcm/rcm_callback.c
|
||||
* plug-ins/rcm/rcm_misc.c: removed the ugly hacks and simply define
|
||||
GTK_DISABLE_DEPRECATED before including gtk.h.
|
||||
|
||||
2002-01-30 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimpwidgets/gimpcolorarea.[ch]: derive from GtkDrawingArea
|
||||
|
|
|
@ -1,23 +1,19 @@
|
|||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "FractalExplorer.h"
|
||||
#include "Events.h"
|
||||
#include "Dialogs.h"
|
||||
|
||||
#ifdef GTK_DISABLE_DEPRECATED
|
||||
/* eeek... really bad hack for the time being */
|
||||
typedef enum
|
||||
{
|
||||
GTK_PREVIEW_COLOR,
|
||||
GTK_PREVIEW_GRAYSCALE
|
||||
} GtkPreviewType;
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
#warning GTK_DISABLE_DEPRECATED
|
||||
#endif
|
||||
#undef GTK_DISABLE_DEPRECATED
|
||||
#include <gtk/gtkpreview.h>
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include <libgimp/gimp.h>
|
||||
|
||||
#include "FractalExplorer.h"
|
||||
#include "Events.h"
|
||||
#include "Dialogs.h"
|
||||
|
||||
/**********************************************************************
|
||||
FUNCTION: preview_button_press_event
|
||||
|
|
|
@ -64,6 +64,13 @@
|
|||
#endif
|
||||
#include <ctype.h>
|
||||
|
||||
#ifdef __GNUC__
|
||||
#warning GTK_DISABLE_DEPRECATED
|
||||
#endif
|
||||
#undef GTK_DISABLE_DEPRECATED
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include <libgimp/gimp.h>
|
||||
#include <libgimp/gimpui.h>
|
||||
|
||||
|
@ -73,10 +80,6 @@
|
|||
#include "Events.h"
|
||||
#include "Dialogs.h"
|
||||
|
||||
#ifdef __GNUC__
|
||||
#warning GTK_DISABLE_DEPRECATED
|
||||
#endif
|
||||
#undef GTK_DISABLE_DEPRECATED
|
||||
#include <gtk/gtklist.h>
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
#ifndef __FRACTALEXPLORER_H__
|
||||
#define __FRACTALEXPLORER_H__
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include <libgimp/gimp.h>
|
||||
|
||||
/**********************************************************************
|
||||
Magic numbers
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
#include "config.h"
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include <libgimp/gimp.h>
|
||||
|
||||
#include "FractalExplorer.h"
|
||||
|
||||
/**********************************************************************
|
||||
|
|
|
@ -40,22 +40,12 @@ static char ident[] = "@(#) GIMP Film plug-in v1.04 1999-10-08";
|
|||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#ifdef GTK_DISABLE_DEPRECATED
|
||||
/* eeek... really bad hack for the time being */
|
||||
typedef enum
|
||||
{
|
||||
GTK_PREVIEW_COLOR,
|
||||
GTK_PREVIEW_GRAYSCALE
|
||||
} GtkPreviewType;
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
#warning GTK_DISABLE_DEPRECATED
|
||||
#endif
|
||||
#undef GTK_DISABLE_DEPRECATED
|
||||
#include <gtk/gtklist.h>
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include <libgimp/gimp.h>
|
||||
#include <libgimp/gimpui.h>
|
||||
|
|
|
@ -35,11 +35,6 @@
|
|||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#define GTK_DISABLE_DEPRECATED
|
||||
|
||||
/* ewww... deprecation hacks again */
|
||||
#define __GIMP_COLOR_AREA_H__
|
||||
|
||||
#include <libgimp/gimp.h>
|
||||
#include <libgimp/gimpui.h>
|
||||
|
||||
|
|
|
@ -35,11 +35,6 @@
|
|||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#define GTK_DISABLE_DEPRECATED
|
||||
|
||||
/* ewww... deprecation hacks again */
|
||||
#define __GIMP_COLOR_AREA_H__
|
||||
|
||||
#include <libgimp/gimp.h>
|
||||
#include <libgimp/gimpui.h>
|
||||
|
||||
|
|
|
@ -35,11 +35,6 @@
|
|||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#define GTK_DISABLE_DEPRECATED
|
||||
|
||||
/* ewww... deprecation hacks again */
|
||||
#define __GIMP_COLOR_AREA_H__
|
||||
|
||||
#include <libgimp/gimp.h>
|
||||
#include <libgimp/gimpui.h>
|
||||
|
||||
|
|
|
@ -1,26 +1,17 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef __GNUC__
|
||||
#warning GTK_DISABLE_DEPRECATED
|
||||
#endif
|
||||
#undef GTK_DISABLE_DEPRECATED
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include <libgimp/gimp.h>
|
||||
|
||||
#include "fp.h"
|
||||
|
||||
#ifdef GTK_DISABLE_DEPRECATED
|
||||
/* eeek... really bad hack for the time being */
|
||||
typedef enum
|
||||
{
|
||||
GTK_PREVIEW_COLOR,
|
||||
GTK_PREVIEW_GRAYSCALE
|
||||
} GtkPreviewType;
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
#warning GTK_DISABLE_DEPRECATED
|
||||
#endif
|
||||
#undef GTK_DISABLE_DEPRECATED
|
||||
#include <gtk/gtkpreview.h>
|
||||
|
||||
extern FP_Params Current;
|
||||
|
||||
|
|
|
@ -41,22 +41,12 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#ifdef GTK_DISABLE_DEPRECATED
|
||||
/* eeek... really bad hack for the time being */
|
||||
typedef enum
|
||||
{
|
||||
GTK_PREVIEW_COLOR,
|
||||
GTK_PREVIEW_GRAYSCALE
|
||||
} GtkPreviewType;
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
#warning GTK_DISABLE_DEPRECATED
|
||||
#endif
|
||||
#undef GTK_DISABLE_DEPRECATED
|
||||
#include <gtk/gtkpreview.h>
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "libgimpmath/gimpmath.h"
|
||||
#include "libgimp/gimp.h"
|
||||
|
|
|
@ -42,22 +42,12 @@
|
|||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#ifdef GTK_DISABLE_DEPRECATED
|
||||
/* eeek... really bad hack for the time being */
|
||||
typedef enum
|
||||
{
|
||||
GTK_PREVIEW_COLOR,
|
||||
GTK_PREVIEW_GRAYSCALE
|
||||
} GtkPreviewType;
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
#warning GTK_DISABLE_DEPRECATED
|
||||
#endif
|
||||
#undef GTK_DISABLE_DEPRECATED
|
||||
#include <gtk/gtkpreview.h>
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "libgimp/gimp.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue