Mercurial > pidgin
comparison src/toc.c @ 242:14fc16f579c8
[gaim-migrate @ 252]
More updates to oscar.c (et al.) to use libfaim. Lots of good stuff now.
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Sat, 20 May 2000 07:58:50 +0000 |
| parents | 6ced2f1c8b24 |
| children | a8971e3704f6 |
comparison
equal
deleted
inserted
replaced
| 241:452993e3cdd2 | 242:14fc16f579c8 |
|---|---|
| 805 inpa = gdk_input_add(toc_fd, GDK_INPUT_READ | GDK_INPUT_EXCEPTION, toc_callback, NULL); | 805 inpa = gdk_input_add(toc_fd, GDK_INPUT_READ | GDK_INPUT_EXCEPTION, toc_callback, NULL); |
| 806 #endif | 806 #endif |
| 807 return buf; | 807 return buf; |
| 808 } | 808 } |
| 809 | 809 |
| 810 #endif /* USE_OSCAR */ | |
| 810 | 811 |
| 811 void toc_build_config(char *s, int len) | 812 void toc_build_config(char *s, int len) |
| 812 { | 813 { |
| 813 GList *grp = groups; | 814 GList *grp = groups; |
| 814 GList *mem; | 815 GList *mem; |
| 841 while(dlist) { | 842 while(dlist) { |
| 842 pos += g_snprintf(&s[pos], len - pos, "d %s\n", (char *)dlist->data); | 843 pos += g_snprintf(&s[pos], len - pos, "d %s\n", (char *)dlist->data); |
| 843 dlist=dlist->next; | 844 dlist=dlist->next; |
| 844 } | 845 } |
| 845 } | 846 } |
| 846 | |
| 847 #endif /* USE_OSCAR */ | |
| 848 | 847 |
| 849 void parse_toc_buddy_list(char *config) | 848 void parse_toc_buddy_list(char *config) |
| 850 { | 849 { |
| 851 char *c; | 850 char *c; |
| 852 char current[256]; | 851 char current[256]; |
