do not include math.h conditionally.

2001-06-22  Sven Neumann  <sven@gimp.org>

        * libgimpmath/gimpmath.h: do not include math.h conditionally.

        * plug-ins/Lighting/lighting_ui.c
        * plug-ins/MapObject/mapobject_ui.c: ported fix for bug #50715 from
        stable branch.
This commit is contained in:
Sven Neumann 2001-06-22 12:58:57 +00:00 committed by Sven Neumann
parent a016f21956
commit 085a16ba86
4 changed files with 10 additions and 29 deletions

View File

@ -1,3 +1,11 @@
2001-06-22 Sven Neumann <sven@gimp.org>
* libgimpmath/gimpmath.h: do not include math.h conditionally.
* plug-ins/Lighting/lighting_ui.c
* plug-ins/MapObject/mapobject_ui.c: ported fix for bug #50715 from
stable branch.
2001-06-21 Sven Neumann <sven@gimp.org>
* plug-ins/gdyntext/ChangeLog

View File

@ -22,9 +22,7 @@
#ifndef __GIMP_MATH_H__
#define __GIMP_MATH_H__
#ifdef HAVE_MATH_H
#include <math.h>
#endif
#ifdef HAVE_IEEEFP_H
#include <ieeefp.h>

View File

@ -1125,18 +1125,8 @@ main_dialog (GimpDrawable *drawable)
GtkWidget *hbox;
GtkWidget *frame;
GtkWidget *button;
gchar **argv;
gint argc;
argc = 1;
argv = g_new (gchar *, 1);
argv[0] = g_strdup ("MapObject");
gtk_init (&argc, &argv);
gtk_rc_parse (gimp_gtkrc ());
if (! gimp_use_xshm ())
gdk_set_use_xshm (FALSE);
gimp_ui_init ("Lighting", FALSE);
visinfo = gck_visualinfo_new ();

View File

@ -1371,23 +1371,8 @@ main_dialog (GimpDrawable *drawable)
GtkWidget *frame;
GtkWidget *button;
GtkWidget *toggle;
gchar **argv;
gint argc;
argc = 1;
argv = g_new (gchar *, 1);
argv[0] = g_strdup ("MapObject");
gtk_init (&argc, &argv);
gtk_rc_parse (gimp_gtkrc ());
if (! gimp_use_xshm ())
gdk_set_use_xshm (FALSE);
/* Set up ArcBall stuff */
/* ==================== */
/*ArcBall_Init(); */
gimp_ui_init ("MapObject", FALSE);
visinfo = gck_visualinfo_new ();