Mercurial > pidgin.yaz
comparison src/buddy.c @ 2883:c12e3e66d54a
[gaim-migrate @ 2896]
thanks Tim Mooney
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 14 Dec 2001 18:08:24 +0000 |
parents | b1e300a85678 |
children | 9571d6794ef3 |
comparison
equal
deleted
inserted
replaced
2882:bedad009d8a6 | 2883:c12e3e66d54a |
---|---|
462 g_snprintf(buf, sizeof buf, "%s", gs->name); | 462 g_snprintf(buf, sizeof buf, "%s", gs->name); |
463 | 463 |
464 gtk_label_set_text(GTK_LABEL(gs->label), buf); | 464 gtk_label_set_text(GTK_LABEL(gs->label), buf); |
465 } | 465 } |
466 | 466 |
467 void update_num_groups() | 467 void update_num_groups(void) |
468 { | 468 { |
469 GSList *s = shows; | 469 GSList *s = shows; |
470 struct group_show *g; | 470 struct group_show *g; |
471 | 471 |
472 while (s) { | 472 while (s) { |
1730 gtk_misc_set_alignment(GTK_MISC(g->label), 0.0, 0.5); | 1730 gtk_misc_set_alignment(GTK_MISC(g->label), 0.0, 0.5); |
1731 gtk_container_add(GTK_CONTAINER(g->item), g->label); | 1731 gtk_container_add(GTK_CONTAINER(g->item), g->label); |
1732 gtk_widget_show(g->label); | 1732 gtk_widget_show(g->label); |
1733 | 1733 |
1734 shows = g_slist_insert(shows, g, pos); | 1734 shows = g_slist_insert(shows, g, pos); |
1735 update_num_groups(g); | 1735 update_num_group(g); |
1736 return g; | 1736 return g; |
1737 } | 1737 } |
1738 | 1738 |
1739 static struct buddy_show *new_buddy_show(struct group_show *gs, struct buddy *buddy, char **xpm) | 1739 static struct buddy_show *new_buddy_show(struct group_show *gs, struct buddy *buddy, char **xpm) |
1740 { | 1740 { |