Commit 89c15350 authored by David Odin's avatar David Odin
Browse files

update the preview continuously when the color changes in the color

* plug-ins/common/colortoalpha.c: update the preview continuously when
  the color changes in the color selector.
parent 5c64cefa
2005-04-25 DindinX <dindinx@gimp.org>
* plug-ins/common/colortoalpha.c: update the preview continuously when
the color changes in the color selector.
2005-04-25 Michael Natterer <mitch@gimp.org>
* app/app_procs.c (app_libs_init): call g_thread_init() only if
......
......@@ -49,7 +49,7 @@ static void run (const gchar *name,
gint *nreturn_vals,
GimpParam **return_vals);
static void inline color_to_alpha (GimpRGB *src,
inline static void color_to_alpha (GimpRGB *src,
const GimpRGB *color);
static void to_alpha_func (const guchar *src,
guchar *dest,
......@@ -200,7 +200,7 @@ run (const gchar *name,
values[0].data.d_status = status;
}
static inline void
inline static void
color_to_alpha (GimpRGB *src,
const GimpRGB *color)
{
......@@ -412,6 +412,7 @@ color_to_alpha_dialog (GimpDrawable *drawable)
PRV_WIDTH, PRV_HEIGHT,
&pvals.color,
GIMP_COLOR_AREA_FLAT);
gimp_color_button_set_update (GIMP_COLOR_BUTTON (button), TRUE);
gtk_box_pack_start (GTK_BOX (hbox), button, TRUE, TRUE, 0);
gtk_widget_show (button);
......
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