From 9f7444baa2001616f227ba9a442be824a57e56b9 Mon Sep 17 00:00:00 2001 From: TingPing Date: Wed, 31 Dec 2014 03:34:55 -0500 Subject: Move userlist sorting to frontend This Fixes possible crashes when the two usertrees get out of sync and a double free occurs. Also now requires restart to change sort orders. Fixes #1252 Fixes #818 (probably) --- src/fe-text/fe-text.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/fe-text') diff --git a/src/fe-text/fe-text.c b/src/fe-text/fe-text.c index 2dd93e2a..a709fe9e 100644 --- a/src/fe-text/fe-text.c +++ b/src/fe-text/fe-text.c @@ -678,7 +678,7 @@ fe_progressbar_end (struct server *serv) { } void -fe_userlist_insert (struct session *sess, struct User *newuser, int row, int sel) +fe_userlist_insert (struct session *sess, struct User *newuser, gboolean sel) { } int @@ -691,10 +691,6 @@ fe_userlist_rehash (struct session *sess, struct User *user) { } void -fe_userlist_move (struct session *sess, struct User *user, int new_row) -{ -} -void fe_userlist_numbers (struct session *sess) { } -- cgit 1.4.1