diff --git a/ChangeLog b/ChangeLog index 13b94820ad..f2619c6369 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2004-12-11 Sven Neumann + * 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. diff --git a/plug-ins/common/unsharp.c b/plug-ins/common/unsharp.c index fe1dace8b0..215fa82f84 100644 --- a/plug-ins/common/unsharp.c +++ b/plug-ins/common/unsharp.c @@ -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;