Commit ef3c2d48 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

got rid of a global variable.

2004-12-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/unsharp.c: got rid of a global variable.
parent 9cd408dd
2004-12-11 Sven Neumann <sven@gimp.org>
* plug-ins/common/unsharp.c: got rid of a global variable.
* plug-ins/common/bumpmap.c (dialog_bumpmap_callback): more changes
to restore the gimp-2.0 behaviour.
......
......@@ -36,15 +36,18 @@
#include "libgimp/stdplugins-intl.h"
#define PLUG_IN_VERSION "0.10"
#define SCALE_WIDTH 150
#define ENTRY_WIDTH 4
/* uncomment this line to get a rough feel of how long the
plug-in takes to run */
/* Uncomment this line to get a rough estimate of
* how long the plug-in takes to run.
*/
/* #define TIMER */
typedef struct
{
gdouble radius;
......@@ -116,7 +119,6 @@ GimpPlugInInfo PLUG_IN_INFO =
run, /* run_proc */
};
static GimpRunMode run_mode;
MAIN ()
......@@ -164,8 +166,9 @@ run (const gchar *name,
static GimpParam values[1];
GimpPDBStatusType status = GIMP_PDB_SUCCESS;
GimpDrawable *drawable;
GimpRunMode run_mode;
#ifdef TIMER
GTimer *timer = g_timer_new ();
GTimer *timer = g_timer_new ();
#endif
run_mode = param[0].data.d_int32;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment