summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/pixops
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>2001-07-14 11:35:24 +0000
committerTim Janik <timj@src.gnome.org>2001-07-14 11:35:24 +0000
commit8589cfa17ad320fead21ba8081c22125fda9306c (patch)
tree9dfef3cdc8e5061e667da76c42c5e7c7d1063f20 /gdk-pixbuf/pixops
parent2afa5510dc12ca5e94f615b3080c55bd8e2fb8bb (diff)
downloadgdk-pixbuf-8589cfa17ad320fead21ba8081c22125fda9306c.tar.gz
add GDK_THREADS_ENTER/GDK_THREADS_LEAVE. (gtk_range_calc_layout): compute
Sat Jul 14 12:47:35 2001 Tim Janik <timj@gtk.org> * gtk/gtkrange.c: (second_timeout): (initial_timeout): (update_timeout): add GDK_THREADS_ENTER/GDK_THREADS_LEAVE. (gtk_range_calc_layout): compute the new layout based on an adjustment->value being passed in as argument. (gtk_range_button_press): for button2 slider warps, first recalc the layout, then adjust the value. also, use update_slider_position() for adjusting the value, so we keep pixel quantisation at which we usually operate (upon motion or button releases). the reason for this is that, we can't change the adjustment upon button2 presses to a non quantised value and upon button2 release re-quantise the value since that'd alter the value even if we didn't get any motion events (causing unexpected scroll area warps upon release and/or slider pixel-jitter). (gtk_range_motion_notify): update the slider position from queried coordinates, not event coordinates. Fri Jul 13 09:47:52 2001 Tim Janik <timj@gtk.org> * gtk/gtkstyle.c (gtk_default_draw_focus): fix line style resetting, the default gc values are: width=0, CapBut, JoinMiter.
Diffstat (limited to 'gdk-pixbuf/pixops')
0 files changed, 0 insertions, 0 deletions