Add "use_align" to give people the option to just make a cell visible.

Fri Aug 24 16:03:45 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): Add
	"use_align" to give people the option to just make a cell visible.

	* gtk/gtktreeview.c (gtk_tree_view_scroll_to_point): fix bug where
	we were scrolling past the end of the tree.

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_pack_start):
	rename gtk_tree_view_column_pack_start_cell_renderer to
	gtk_tree_view_column_pack_start.  Same for pack_end, and clear.
This commit is contained in:
Jonathan Blandford
2001-08-24 20:09:26 +00:00
committed by Jonathan Blandford
parent c1e4eac780
commit 747b72533a
14 changed files with 161 additions and 50 deletions

View File

@ -510,7 +510,7 @@ gtk_tree_path_up (GtkTreePath *path)
{
g_return_val_if_fail (path != NULL, FALSE);
if (path->depth == 1)
if (path->depth == 0)
return FALSE;
path->depth--;