Mercurial > pidgin.yaz
diff console/gntblist.c @ 13858:aa1c97f5e6eb
[gaim-migrate @ 16317]
Do the indentation in GntTree properly.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 23 Jun 2006 10:25:47 +0000 |
parents | d341b5ac1a78 |
children | c1e3f7c75c3f |
line wrap: on
line diff
--- a/console/gntblist.c Fri Jun 23 09:38:48 2006 +0000 +++ b/console/gntblist.c Fri Jun 23 10:25:47 2006 +0000 @@ -10,8 +10,6 @@ #include "gntblist.h" -#define TAB_SIZE 3 - typedef struct { GntWidget *window; @@ -100,7 +98,6 @@ static void add_buddy(GaimBuddy *buddy, GGBlist *ggblist) { - char *text; GaimGroup *group; GaimBlistNode *node = (GaimBlistNode *)buddy; if (node->ui_data) @@ -110,9 +107,7 @@ group = gaim_buddy_get_group(buddy); add_group(group, ggblist); - text = g_strdup_printf("%*s%s", TAB_SIZE, "", gaim_buddy_get_alias(buddy)); - gnt_tree_add_row_after(GNT_TREE(ggblist->tree), buddy, text, group, NULL); - g_free(text); + gnt_tree_add_row_after(GNT_TREE(ggblist->tree), buddy, gaim_buddy_get_alias(buddy), group, NULL); } static void