]> Pileus Git - ~andy/gtk/commitdiff
remove sizing == AUTOSIZE check. Update docs.
authorJonathan Blandford <jrb@redhat.com>
Tue, 5 Mar 2002 23:22:27 +0000 (23:22 +0000)
committerJonathan Blandford <jrb@src.gnome.org>
Tue, 5 Mar 2002 23:22:27 +0000 (23:22 +0000)
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.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtktreeviewcolumn.c

index 9fd446eb9264633bcdc927e2ef05800695103ad0..aeb3dac6c9f5cb51ce2519a7d1049c55cbbce3b9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 9fd446eb9264633bcdc927e2ef05800695103ad0..aeb3dac6c9f5cb51ce2519a7d1049c55cbbce3b9 100644 (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
index 9fd446eb9264633bcdc927e2ef05800695103ad0..aeb3dac6c9f5cb51ce2519a7d1049c55cbbce3b9 100644 (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
index 9fd446eb9264633bcdc927e2ef05800695103ad0..aeb3dac6c9f5cb51ce2519a7d1049c55cbbce3b9 100644 (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
index 9fd446eb9264633bcdc927e2ef05800695103ad0..aeb3dac6c9f5cb51ce2519a7d1049c55cbbce3b9 100644 (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
index 9fd446eb9264633bcdc927e2ef05800695103ad0..aeb3dac6c9f5cb51ce2519a7d1049c55cbbce3b9 100644 (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
index 9fd446eb9264633bcdc927e2ef05800695103ad0..aeb3dac6c9f5cb51ce2519a7d1049c55cbbce3b9 100644 (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
index de6b359e7de399ae6d54f206976598d7d5eed42e..52b62413855b9cd497fc03e363b813284dcfe7e4 100644 (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 &&