remove sizing == AUTOSIZE check. Update docs.

Tue Mar  5 18:17:31 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_fixed_width):
	remove sizing == AUTOSIZE check.  Update docs.
This commit is contained in:
Jonathan Blandford 2002-03-05 23:22:27 +00:00 committed by Jonathan Blandford
parent 776870fcff
commit bcd7700649
8 changed files with 39 additions and 6 deletions

View File

@ -1,3 +1,8 @@
Tue Mar 5 18:17:31 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_fixed_width):
remove sizing == AUTOSIZE check. Update docs.
Tue Mar 5 17:43:43 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfontsel.c (gtk_font_selection_init): Don't

View File

@ -1,3 +1,8 @@
Tue Mar 5 18:17:31 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_fixed_width):
remove sizing == AUTOSIZE check. Update docs.
Tue Mar 5 17:43:43 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfontsel.c (gtk_font_selection_init): Don't

View File

@ -1,3 +1,8 @@
Tue Mar 5 18:17:31 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_fixed_width):
remove sizing == AUTOSIZE check. Update docs.
Tue Mar 5 17:43:43 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfontsel.c (gtk_font_selection_init): Don't

View File

@ -1,3 +1,8 @@
Tue Mar 5 18:17:31 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_fixed_width):
remove sizing == AUTOSIZE check. Update docs.
Tue Mar 5 17:43:43 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfontsel.c (gtk_font_selection_init): Don't

View File

@ -1,3 +1,8 @@
Tue Mar 5 18:17:31 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_fixed_width):
remove sizing == AUTOSIZE check. Update docs.
Tue Mar 5 17:43:43 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfontsel.c (gtk_font_selection_init): Don't

View File

@ -1,3 +1,8 @@
Tue Mar 5 18:17:31 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_fixed_width):
remove sizing == AUTOSIZE check. Update docs.
Tue Mar 5 17:43:43 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfontsel.c (gtk_font_selection_init): Don't

View File

@ -1,3 +1,8 @@
Tue Mar 5 18:17:31 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_fixed_width):
remove sizing == AUTOSIZE check. Update docs.
Tue Mar 5 17:43:43 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfontsel.c (gtk_font_selection_init): Don't

View File

@ -1597,9 +1597,10 @@ gtk_tree_view_column_get_width (GtkTreeViewColumn *tree_column)
* @fixed_width: The size to set @tree_column to. Must be greater than 0.
*
* Sets the size of the column in pixels. This is meaningful only if the sizing
* type is #GTK_TREE_VIEW_COLUMN_FIXED. In this case, the value is discarded
* as the size of the column is based on the calculated width of the column. The
* width is clamped to the min/max width for the column.
* type is #GTK_TREE_VIEW_COLUMN_FIXED. The size of the column is clamped to
* the min/max width for the column. Please note that the min/max width of the
* column doesn't actually affect the "fixed_width" property of the widget, just
* the actual size when displayed.
**/
void
gtk_tree_view_column_set_fixed_width (GtkTreeViewColumn *tree_column,
@ -1608,9 +1609,6 @@ gtk_tree_view_column_set_fixed_width (GtkTreeViewColumn *tree_column,
g_return_if_fail (GTK_IS_TREE_VIEW_COLUMN (tree_column));
g_return_if_fail (fixed_width > 0);
if (tree_column->column_type == GTK_TREE_VIEW_COLUMN_AUTOSIZE)
return;
tree_column->fixed_width = fixed_width;
if (tree_column->tree_view &&