summaryrefslogtreecommitdiff
path: root/gtk/gtkbox.c
diff options
context:
space:
mode:
authorOwen Taylor <owt1@cornell.edu>1998-04-05 23:30:26 +0000
committerOwen Taylor <otaylor@src.gnome.org>1998-04-05 23:30:26 +0000
commit20fee708a3119689431488877d7a18662b875747 (patch)
tree4634d87193e1bc3282a81f20f4bfd16dc94f8785 /gtk/gtkbox.c
parent1a099c2ced994d8cfb4f1c047cd3fcf4b16519b6 (diff)
downloadgdk-pixbuf-20fee708a3119689431488877d7a18662b875747.tar.gz
Fixed assignment of adjustment->value to negative values. Moved a few
Sun Apr 5 19:30:23 1998 Owen Taylor <owt1@cornell.edu> * gtk/gtkclist.c: Fixed assignment of adjustment->value to negative values. Moved a few other allocation type things around in ways that may or may matter. Fixed some allocation errors (scrollbars were overlapping main window). * gtk/gtkbutton.c (gtk_real_button_released): Small hack to keep button labels from vanishing when the invoked operation blocks. * gtk/gtkbox.c (gtk_box_remove): Assigning GTK_WIDGET_VISIBLE (widget) to a gboolean (char) is _bad_. GTK_VISIBLE == 256.
Diffstat (limited to 'gtk/gtkbox.c')
-rw-r--r--gtk/gtkbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c
index 5b7c61d8c..51a36364b 100644
--- a/gtk/gtkbox.c
+++ b/gtk/gtkbox.c
@@ -560,7 +560,7 @@ gtk_box_remove (GtkContainer *container,
if (child->widget == widget)
{
- gboolean visible;
+ gint visible;
visible = GTK_WIDGET_VISIBLE (widget);
gtk_widget_unparent (widget);