summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>1999-01-18 19:42:59 +0000
committerTim Janik <timj@src.gnome.org>1999-01-18 19:42:59 +0000
commit4ee10fdefa7343ffb5bfd5f4657fa421e2a51006 (patch)
tree9a4a7960c67c482a1cd3c52bf1d7a052258a5870 /ChangeLog
parent7709c1d12dd8fd4ba9409a4f5e7ea131317e396f (diff)
downloadgtk+-4ee10fdefa7343ffb5bfd5f4657fa421e2a51006.tar.gz
CLAMP digits into a meaningfull range (we need to stay below a certain
Mon Jan 18 18:53:08 1999 Tim Janik <timj@gtk.org> * gtk/gtkscale.c (gtk_scale_set_digits): CLAMP digits into a meaningfull range (we need to stay below a certain limit anyways to avoid string buffer overflows). * gtk/gtkvscale.c (gtk_vscale_pos_background): fixed up background area calculations for GTK_POS_RIGHT and GTK_POS_BOTTOM. * gtk/gtkhscale.c (gtk_hscale_pos_background): likewise. (gtk_hscale_draw_value): safety CLAMP the value's x position for GTK_POS_TOP and GTK_POS_BOTTOM, so we don't paint strings outside of our allocation. * gtk/gtkscale.c: implemented GtkScale::digits, GtkScale::draw_value and GtkScale::value_pos arguments.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog16
1 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c43c80d510..59c0f636c6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+Mon Jan 18 18:53:08 1999 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkscale.c (gtk_scale_set_digits): CLAMP digits into a
+ meaningfull range (we need to stay below a certain limit anyways
+ to avoid string buffer overflows).
+
+ * gtk/gtkvscale.c (gtk_vscale_pos_background): fixed up background
+ area calculations for GTK_POS_RIGHT and GTK_POS_BOTTOM.
+ * gtk/gtkhscale.c (gtk_hscale_pos_background): likewise.
+ (gtk_hscale_draw_value): safety CLAMP the value's x position for
+ GTK_POS_TOP and GTK_POS_BOTTOM, so we don't paint strings outside of
+ our allocation.
+
+ * gtk/gtkscale.c: implemented GtkScale::digits, GtkScale::draw_value
+ and GtkScale::value_pos arguments.
+
Mon Jan 18 14:26:17 1999 Owen Taylor <otaylor@redhat.com>
* docs/Changes-1.2.txt: Some editing, a little more