Commit c76c5f48 authored by 2's avatar 2 Committed by Jonathan Blandford

It's amazing what reversing the order in an if statement will do. Doing so

2000-11-22    <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_calc_size): It's amazing what
	reversing the order in an if statement will do.  Doing so managed
	to make the treemodelsort half work.  Other half will follow after
	I get the insert function fully fixed.
parent a2771e40
2000-11-22 <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_calc_size): It's amazing what
reversing the order in an if statement will do. Doing so managed
to make the treemodelsort half work. Other half will follow after
I get the insert function fully fixed.
2000-11-21 Elliot Lee <sopwith@redhat.com>
* gtk/gtkmenushell.h: GdkEventButton->button can occupy significantly
more than 2 bits. Besides, I need to implement an evil hack. :)
......
2000-11-22 <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_calc_size): It's amazing what
reversing the order in an if statement will do. Doing so managed
to make the treemodelsort half work. Other half will follow after
I get the insert function fully fixed.
2000-11-21 Elliot Lee <sopwith@redhat.com>
* gtk/gtkmenushell.h: GdkEventButton->button can occupy significantly
more than 2 bits. Besides, I need to implement an evil hack. :)
......
2000-11-22 <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_calc_size): It's amazing what
reversing the order in an if statement will do. Doing so managed
to make the treemodelsort half work. Other half will follow after
I get the insert function fully fixed.
2000-11-21 Elliot Lee <sopwith@redhat.com>
* gtk/gtkmenushell.h: GdkEventButton->button can occupy significantly
more than 2 bits. Besides, I need to implement an evil hack. :)
......
2000-11-22 <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_calc_size): It's amazing what
reversing the order in an if statement will do. Doing so managed
to make the treemodelsort half work. Other half will follow after
I get the insert function fully fixed.
2000-11-21 Elliot Lee <sopwith@redhat.com>
* gtk/gtkmenushell.h: GdkEventButton->button can occupy significantly
more than 2 bits. Besides, I need to implement an evil hack. :)
......
2000-11-22 <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_calc_size): It's amazing what
reversing the order in an if statement will do. Doing so managed
to make the treemodelsort half work. Other half will follow after
I get the insert function fully fixed.
2000-11-21 Elliot Lee <sopwith@redhat.com>
* gtk/gtkmenushell.h: GdkEventButton->button can occupy significantly
more than 2 bits. Besides, I need to implement an evil hack. :)
......
2000-11-22 <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_calc_size): It's amazing what
reversing the order in an if statement will do. Doing so managed
to make the treemodelsort half work. Other half will follow after
I get the insert function fully fixed.
2000-11-21 Elliot Lee <sopwith@redhat.com>
* gtk/gtkmenushell.h: GdkEventButton->button can occupy significantly
more than 2 bits. Besides, I need to implement an evil hack. :)
......
2000-11-22 <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_calc_size): It's amazing what
reversing the order in an if statement will do. Doing so managed
to make the treemodelsort half work. Other half will follow after
I get the insert function fully fixed.
2000-11-21 Elliot Lee <sopwith@redhat.com>
* gtk/gtkmenushell.h: GdkEventButton->button can occupy significantly
more than 2 bits. Besides, I need to implement an evil hack. :)
......
......@@ -2318,8 +2318,8 @@ gtk_tree_view_calc_size (GtkTreeView *tree_view,
column->size = MAX (column->size, width);
}
_gtk_rbtree_node_set_height (tree, temp, max_height);
if (gtk_tree_model_iter_children (tree_view->priv->model, &child, iter) &&
temp->children != NULL)
if (temp->children != NULL &&
gtk_tree_model_iter_children (tree_view->priv->model, &child, iter))
gtk_tree_view_calc_size (tree_view, temp->children, &child, depth + 1);
temp = _gtk_rbtree_next (tree, temp);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment