mirror of https://github.com/GNOME/gimp.git
removed "case GDK_CONFIGURE" because it's not needed and did "break"
2004-09-20 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpcolorselect.c (gimp_color_select_xy_events): removed "case GDK_CONFIGURE" because it's not needed and did "break" instead of "return FALSE", causing random color changes when resizing and initially showing the widget.
This commit is contained in:
parent
0025a969d6
commit
bd6a0b3a67
|
@ -1,3 +1,10 @@
|
||||||
|
2004-09-20 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
|
* libgimpwidgets/gimpcolorselect.c (gimp_color_select_xy_events):
|
||||||
|
removed "case GDK_CONFIGURE" because it's not needed and did
|
||||||
|
"break" instead of "return FALSE", causing random color changes
|
||||||
|
when resizing and initially showing the widget.
|
||||||
|
|
||||||
2004-09-20 Sven Neumann <sven@gimp.org>
|
2004-09-20 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* Made 2.1.5 release.
|
* Made 2.1.5 release.
|
||||||
|
|
|
@ -714,10 +714,6 @@ gimp_color_select_xy_events (GtkWidget *widget,
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GDK_CONFIGURE:
|
|
||||||
gimp_color_select_update (select, UPDATE_XY_COLOR);
|
|
||||||
break;
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
@ -737,6 +733,7 @@ gimp_color_select_xy_events (GtkWidget *widget,
|
||||||
select->pos[1] = CLAMP (select->pos[1], 0, 255);
|
select->pos[1] = CLAMP (select->pos[1], 0, 255);
|
||||||
|
|
||||||
gimp_color_select_draw_xy_marker (select, NULL);
|
gimp_color_select_draw_xy_marker (select, NULL);
|
||||||
|
|
||||||
gimp_color_select_update (select, UPDATE_VALUES | UPDATE_CALLER);
|
gimp_color_select_update (select, UPDATE_VALUES | UPDATE_CALLER);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in New Issue