diff console/libgnt/gnttree.c @ 13878:0d0ab1e39d0a

[gaim-migrate @ 16355] Change the behaviour of the widgets about how they update themselves. This makes things a little better, and hopefully easier to build more stuff on top of this. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 27 Jun 2006 02:33:55 +0000
parents d78ab363e02d
children 5c750626eaa5
line wrap: on
line diff
--- a/console/libgnt/gnttree.c	Mon Jun 26 19:54:53 2006 +0000
+++ b/console/libgnt/gnttree.c	Tue Jun 27 02:33:55 2006 +0000
@@ -219,7 +219,7 @@
 		start++;
 	}
 
-	wrefresh(widget->window);
+	gnt_widget_queue_update(widget);
 }
 
 static void
@@ -231,8 +231,6 @@
 	scrollok(widget->window, TRUE);
 	wsetscrreg(widget->window, 0, widget->priv.height - 1);
 
-	tree->top = tree->root;
-
 	redraw_tree(tree);
 	
 	DEBUG;