1999-01-06 Miguel de Icaza <miguel@nuclecu.unam.mx>

* widget.c (listbox_new): Assing l->height.
This commit is contained in:
Miguel de Icaza 1999-01-06 19:47:24 +00:00
parent b7744cce9d
commit 4c7a34f182
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
1999-01-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
* widget.c (listbox_new): Assing l->height.
1999-01-03 Miguel de Icaza <miguel@nuclecu.unam.mx>
* main.c (update_one_panel_widget): GNOME version does the panel

View File

@ -2209,7 +2209,9 @@ listbox_new (int y, int x, int width, int height,
l->pos = 0;
l->width = width;
if (height <= 0)
l->height = 0;
l->height = 1;
else
l->height = height;
l->count = 0;
l->top = 0;
l->current= 0;