Reset priv->changing before returning. (#100443)

* gtk/gtkcolorsel.c (gtk_color_selection_set_previous_color):
	(gtk_color_selection_set_previous_alpha): Reset priv->changing
	before returning.  (#100443)
This commit is contained in:
Matthias Clasen 2002-12-08 22:17:22 +00:00
parent da9cd1c6f6
commit 3bdc520c48
7 changed files with 38 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2002-12-08 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcolorsel.c (gtk_color_selection_set_previous_color):
(gtk_color_selection_set_previous_alpha): Reset priv->changing
before returning. (#100443)
Sat Dec 7 14:45:50 GMT 2002 Tony Gale <gale@gtk.org>
* docs/tutorial/gtk-tut.sgml: minor fixes

View File

@ -1,3 +1,9 @@
2002-12-08 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcolorsel.c (gtk_color_selection_set_previous_color):
(gtk_color_selection_set_previous_alpha): Reset priv->changing
before returning. (#100443)
Sat Dec 7 14:45:50 GMT 2002 Tony Gale <gale@gtk.org>
* docs/tutorial/gtk-tut.sgml: minor fixes

View File

@ -1,3 +1,9 @@
2002-12-08 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcolorsel.c (gtk_color_selection_set_previous_color):
(gtk_color_selection_set_previous_alpha): Reset priv->changing
before returning. (#100443)
Sat Dec 7 14:45:50 GMT 2002 Tony Gale <gale@gtk.org>
* docs/tutorial/gtk-tut.sgml: minor fixes

View File

@ -1,3 +1,9 @@
2002-12-08 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcolorsel.c (gtk_color_selection_set_previous_color):
(gtk_color_selection_set_previous_alpha): Reset priv->changing
before returning. (#100443)
Sat Dec 7 14:45:50 GMT 2002 Tony Gale <gale@gtk.org>
* docs/tutorial/gtk-tut.sgml: minor fixes

View File

@ -1,3 +1,9 @@
2002-12-08 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcolorsel.c (gtk_color_selection_set_previous_color):
(gtk_color_selection_set_previous_alpha): Reset priv->changing
before returning. (#100443)
Sat Dec 7 14:45:50 GMT 2002 Tony Gale <gale@gtk.org>
* docs/tutorial/gtk-tut.sgml: minor fixes

View File

@ -1,3 +1,9 @@
2002-12-08 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcolorsel.c (gtk_color_selection_set_previous_color):
(gtk_color_selection_set_previous_alpha): Reset priv->changing
before returning. (#100443)
Sat Dec 7 14:45:50 GMT 2002 Tony Gale <gale@gtk.org>
* docs/tutorial/gtk-tut.sgml: minor fixes

View File

@ -2357,6 +2357,7 @@ gtk_color_selection_set_previous_color (GtkColorSelection *colorsel,
&priv->old_color[COLORSEL_VALUE]);
color_sample_draw_samples (colorsel);
priv->default_set = TRUE;
priv->changing = FALSE;
}
/**
@ -2380,6 +2381,7 @@ gtk_color_selection_set_previous_alpha (GtkColorSelection *colorsel,
priv->old_color[COLORSEL_OPACITY] = SCALE (alpha);
color_sample_draw_samples (colorsel);
priv->default_alpha_set = TRUE;
priv->changing = FALSE;
}