Offset invalidated range correctly. Fix scrolling of title window.

Fri Nov 23 18:36:42 2001  Owen Taylor  <otaylor@redhat.com>
	* gtk/gtkrange.c (gtk_range_button_press): Offset
	invalidated range correctly.
	* gtk/gtkclist.c (hadjustment_value_changed): Fix scrolling
	of title window. (#65001, reported by Damon Chaplin)
	* gtk/gtkcombo.c (gtk_combo_button_event_after): Replace
	horrible hack with use of ::event_after.
This commit is contained in:
Owen Taylor
2001-11-23 23:42:30 +00:00
committed by Owen Taylor
parent 2936c8e942
commit 1123956779
10 changed files with 153 additions and 53 deletions

View File

@ -1161,8 +1161,8 @@ gtk_range_button_press (GtkWidget *widget,
stepper_area = get_area (range, range->layout->mouse_location);
gtk_widget_queue_draw_area (widget,
stepper_area->x,
stepper_area->y,
widget->allocation.x + stepper_area->x,
widget->allocation.y + stepper_area->y,
stepper_area->width,
stepper_area->height);