about summary refs log tree commit diff stats
path: root/src/ui/rosterwin.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-01-31 02:33:44 +0000
committerJames Booth <boothj5@gmail.com>2016-01-31 02:33:44 +0000
commite816b124ee754ba11dfe84710b478388651defdc (patch)
tree65f8264b88e66a8fa4a3e45a9ecb3b0107c575cc /src/ui/rosterwin.c
parent369aa5e8a867e3d75f102fb1a7050ccc2a071a8b (diff)
downloadprofani-tty-e816b124ee754ba11dfe84710b478388651defdc.tar.gz
Removed unused arg from roster_get_ functions
Diffstat (limited to 'src/ui/rosterwin.c')
-rw-r--r--src/ui/rosterwin.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/rosterwin.c b/src/ui/rosterwin.c
index bf05b14b..385911b9 100644
--- a/src/ui/rosterwin.c
+++ b/src/ui/rosterwin.c
@@ -137,9 +137,9 @@ _rosterwin_contacts_all(ProfLayoutSplit *layout, gboolean newline)
 
     char *order = prefs_get_string(PREF_ROSTER_ORDER);
     if (g_strcmp0(order, "presence") == 0) {
-        contacts = roster_get_contacts(ROSTER_ORD_PRESENCE, TRUE);
+        contacts = roster_get_contacts(ROSTER_ORD_PRESENCE);
     } else {
-        contacts = roster_get_contacts(ROSTER_ORD_NAME, TRUE);
+        contacts = roster_get_contacts(ROSTER_ORD_NAME);
     }
     prefs_free_string(order);
 
@@ -189,9 +189,9 @@ _rosterwin_contacts_by_group(ProfLayoutSplit *layout, char *group, gboolean newl
 
     char *order = prefs_get_string(PREF_ROSTER_ORDER);
     if (g_strcmp0(order, "presence") == 0) {
-        contacts = roster_get_group(group, ROSTER_ORD_PRESENCE, TRUE);
+        contacts = roster_get_group(group, ROSTER_ORD_PRESENCE);
     } else {
-        contacts = roster_get_group(group, ROSTER_ORD_NAME, TRUE);
+        contacts = roster_get_group(group, ROSTER_ORD_NAME);
     }
     prefs_free_string(order);