about summary refs log tree commit diff stats
path: root/src/ui/rosterwin.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2017-04-01 00:27:11 +0100
committerJames Booth <boothj5@gmail.com>2017-04-01 00:27:11 +0100
commit6b830277a6e2f90c7f8fde94ccf31dc6a4e4e73e (patch)
tree4b99ba6b6d48c51bce6dfa6f8dbb30e1f4501832 /src/ui/rosterwin.c
parent1b9d033cef78365ca73ac504041ce129fdf334d2 (diff)
downloadprofani-tty-6b830277a6e2f90c7f8fde94ccf31dc6a4e4e73e.tar.gz
Allow previous autocompletion with shift tab
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 30dedea6..bbeaba21 100644
--- a/src/ui/rosterwin.c
+++ b/src/ui/rosterwin.c
@@ -138,13 +138,13 @@ rosterwin_roster(void)
             _rosterwin_contacts_by_presence(layout, "dnd", "Do not disturb");
             _rosterwin_contacts_by_presence(layout, "offline", "Offline");
         } else if (g_strcmp0(by, "group") == 0) {
-            GSList *groups = roster_get_groups();
-            GSList *curr_group = groups;
+            GList *groups = roster_get_groups();
+            GList *curr_group = groups;
             while (curr_group) {
                 _rosterwin_contacts_by_group(layout, curr_group->data);
-                curr_group = g_slist_next(curr_group);
+                curr_group = g_list_next(curr_group);
             }
-            g_slist_free_full(groups, free);
+            g_list_free_full(groups, free);
             _rosterwin_contacts_by_group(layout, NULL);
         } else {
             _rosterwin_contacts_all(layout);