summary refs log tree commit diff stats
path: root/src/common/fe.h
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2014-12-31 03:34:55 -0500
committerTingPing <tingping@tingping.se>2014-12-31 03:56:36 -0500
commit9f7444baa2001616f227ba9a442be824a57e56b9 (patch)
tree3bf087644d0421eeb1de1dea75429095ba6feffd /src/common/fe.h
parentfef580ed7faaba17e2c8fea504b8587850502220 (diff)
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)
Diffstat (limited to 'src/common/fe.h')
-rw-r--r--src/common/fe.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/fe.h b/src/common/fe.h
index 2ca15c60..9d8919ac 100644
--- a/src/common/fe.h
+++ b/src/common/fe.h
@@ -88,11 +88,10 @@ void fe_progressbar_start (struct session *sess);
 void fe_progressbar_end (struct server *serv);
 void fe_print_text (struct session *sess, char *text, time_t stamp,
 					gboolean no_activity);
-void fe_userlist_insert (struct session *sess, struct User *newuser, int row, int sel);
+void fe_userlist_insert (struct session *sess, struct User *newuser, gboolean sel);
 int fe_userlist_remove (struct session *sess, struct User *user);
 void fe_userlist_rehash (struct session *sess, struct User *user);
 void fe_userlist_update (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);
 void fe_userlist_clear (struct session *sess);
 void fe_userlist_set_selected (struct session *sess);