mirror of https://github.com/GNOME/gimp.git
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:
parent
a016f21956
commit
085a16ba86
|
@ -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>
|
2001-06-21 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* plug-ins/gdyntext/ChangeLog
|
* plug-ins/gdyntext/ChangeLog
|
||||||
|
|
|
@ -22,9 +22,7 @@
|
||||||
#ifndef __GIMP_MATH_H__
|
#ifndef __GIMP_MATH_H__
|
||||||
#define __GIMP_MATH_H__
|
#define __GIMP_MATH_H__
|
||||||
|
|
||||||
#ifdef HAVE_MATH_H
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_IEEEFP_H
|
#ifdef HAVE_IEEEFP_H
|
||||||
#include <ieeefp.h>
|
#include <ieeefp.h>
|
||||||
|
|
|
@ -1125,18 +1125,8 @@ main_dialog (GimpDrawable *drawable)
|
||||||
GtkWidget *hbox;
|
GtkWidget *hbox;
|
||||||
GtkWidget *frame;
|
GtkWidget *frame;
|
||||||
GtkWidget *button;
|
GtkWidget *button;
|
||||||
gchar **argv;
|
|
||||||
gint argc;
|
|
||||||
|
|
||||||
argc = 1;
|
gimp_ui_init ("Lighting", FALSE);
|
||||||
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);
|
|
||||||
|
|
||||||
visinfo = gck_visualinfo_new ();
|
visinfo = gck_visualinfo_new ();
|
||||||
|
|
||||||
|
|
|
@ -1371,23 +1371,8 @@ main_dialog (GimpDrawable *drawable)
|
||||||
GtkWidget *frame;
|
GtkWidget *frame;
|
||||||
GtkWidget *button;
|
GtkWidget *button;
|
||||||
GtkWidget *toggle;
|
GtkWidget *toggle;
|
||||||
gchar **argv;
|
|
||||||
gint argc;
|
|
||||||
|
|
||||||
argc = 1;
|
gimp_ui_init ("MapObject", FALSE);
|
||||||
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(); */
|
|
||||||
|
|
||||||
visinfo = gck_visualinfo_new ();
|
visinfo = gck_visualinfo_new ();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue