summaryrefslogtreecommitdiff
path: root/gtk/gtkclist.h
diff options
context:
space:
mode:
authorLars Hamann <lars@gtk.org>1998-11-07 14:29:22 +0000
committerLars Hamann <lars@src.gnome.org>1998-11-07 14:29:22 +0000
commit9d874ec20a8f42a34a5f35fdfff9bf2164bc8420 (patch)
tree118584f438397d4857a755f10bcc31e71009a1fa /gtk/gtkclist.h
parent75fff482b91691ca465d8f343ce018955fb212fe (diff)
downloadgtk+-9d874ec20a8f42a34a5f35fdfff9bf2164bc8420.tar.gz
resize clist if adjustments are NULL and list size has changed
Fri Nov 6 23:29:40 1998 Lars Hamann <lars@gtk.org> * gtk/gtkclist.c (real_clear) (adjust_adjustments): resize clist if adjustments are NULL and list size has changed (gtk_clist_size_request): return real list requsition, if adjustments are NULL. (size_allocate_columns): use button->requisition.with, if column width is not set. (list_requisition_width): new function. return full list width. (gtk_clist_set_hadjustment) (gtk_clist_set_vadjustment): do not auto create adjustments. (gtk_clist_motion) (move_vertical) (move_horizontal): check adjustment != NULL.
Diffstat (limited to 'gtk/gtkclist.h')
-rw-r--r--gtk/gtkclist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkclist.h b/gtk/gtkclist.h
index 5d8c457c4d..37a6d81eb5 100644
--- a/gtk/gtkclist.h
+++ b/gtk/gtkclist.h
@@ -155,7 +155,7 @@ struct _GtkCList
GList *undo_unselection;
gint undo_anchor;
- /* scrollbars */
+ /* scroll adjustments */
GtkAdjustment *hadjustment;
GtkAdjustment *vadjustment;