Mercurial > pidgin
comparison src/gaimrc.c @ 2095:df9710306152
[gaim-migrate @ 2105]
whoops. this compiled fine on my computer at work
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 01 Aug 2001 06:16:36 +0000 |
parents | bc3a118644d5 |
children | e8e2a72a37b7 |
comparison
equal
deleted
inserted
replaced
2094:be10a1243ed7 | 2095:df9710306152 |
---|---|
441 if (buf[0] == '}') | 441 if (buf[0] == '}') |
442 break; | 442 break; |
443 | 443 |
444 p = parse_line(buf); | 444 p = parse_line(buf); |
445 if (!strcmp(p->option, "plugin")) { | 445 if (!strcmp(p->option, "plugin")) { |
446 filter_break(p->value[0]); | |
446 load = g_slist_append(load, g_strdup(p->value[0])); | 447 load = g_slist_append(load, g_strdup(p->value[0])); |
447 } | 448 } |
448 } | 449 } |
449 /* this is such a fucked up hack. the reason we do this is because after | 450 /* this is such a fucked up hack. the reason we do this is because after |
450 * we load a plugin the gaimrc file gets rewrit. so we have to remember | 451 * we load a plugin the gaimrc file gets rewrit. so we have to remember |
451 * which ones to load before loading them. */ | 452 * which ones to load before loading them. */ |
452 while (load) { | 453 while (load) { |
453 if (load->data) | 454 if (load->data) |
454 load_plugin(filter_break(load->data)); | 455 load_plugin(load->data); |
455 g_free(load->data); | 456 g_free(load->data); |
456 load = g_slist_remove(load, load->data); | 457 load = g_slist_remove(load, load->data); |
457 } | 458 } |
458 } | 459 } |
459 #endif /* GAIM_PLUGINS */ | 460 #endif /* GAIM_PLUGINS */ |