diff console/libgnt/gntmain.c @ 14125:7dfa024c1a4a

[gaim-migrate @ 16763] Redirect the debug messages to stderr when started with -d. Fix the order of the windows in the windowlist. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 15 Aug 2006 04:07:38 +0000
parents f8ab496671fa
children db2311999862
line wrap: on
line diff
--- a/console/libgnt/gntmain.c	Tue Aug 15 04:05:27 2006 +0000
+++ b/console/libgnt/gntmain.c	Tue Aug 15 04:07:38 2006 +0000
@@ -273,8 +273,8 @@
 	{
 		GntBox *box = GNT_BOX(iter->data);
 
-		gnt_tree_add_row_after(GNT_TREE(tree), box,
-				gnt_tree_create_row(GNT_TREE(tree), box->title), NULL, NULL);
+		gnt_tree_add_row_last(GNT_TREE(tree), box,
+				gnt_tree_create_row(GNT_TREE(tree), box->title), NULL);
 		update_window_in_list(GNT_WIDGET(box));
 	}
 
@@ -752,9 +752,9 @@
 		if ((GNT_IS_BOX(widget) && GNT_BOX(widget)->title) && window_list.window != widget
 				&& GNT_WIDGET_IS_FLAG_SET(widget, GNT_WIDGET_CAN_TAKE_FOCUS))
 		{
-			gnt_tree_add_row_after(GNT_TREE(window_list.tree), widget,
+			gnt_tree_add_row_last(GNT_TREE(window_list.tree), widget,
 					gnt_tree_create_row(GNT_TREE(window_list.tree), GNT_BOX(widget)->title),
-					NULL, NULL);
+					NULL);
 			update_window_in_list(widget);
 		}
 	}