Commit c62fb7be authored by David Odin's avatar David Odin

shut up a Gtk-Critical Warning that happened after reopening the filter,

* plug-ins/common/sample_colorize.c: shut up a Gtk-Critical Warning
  that happened after reopening the filter, but only when a gradient had
  been selected on the previous invocation.
parent 9048b1be
2005-08-12 DindinX <dindinx@gimp.org>
* plug-ins/common/sample_colorize.c: shut up a Gtk-Critical Warning
that happened after reopening the filter, but only when a gradient had
been selected on the previous invocation.
2005-08-12 DindinX <dindinx@gimp.org>
* plug-ins/common/sample_colorize.c: preliminary clean-ups.
......
......@@ -350,6 +350,9 @@ run (const gchar *name,
/* Possibly retrieve data from a previous run */
gimp_get_data (PLUG_IN_NAME, &g_values);
if (g_values.sample_id == SMP_GRADIENT ||
g_values.sample_id == SMP_INV_GRADIENT)
g_values.sample_id = -1;
/* fix value */
g_values.tol_col_err = 5.5;
......
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