Mercurial > pidgin
comparison src/plugin.c @ 6432:f9428d38c03b
[gaim-migrate @ 6940]
(16:11:45) Paco-Paco: lets more than one loader plugin be used at the same time
(16:12:22) ChipX86: uh oh
(16:12:26) ChipX86: how did that bug occur? :/
(16:13:00) Paco-Paco: I'm not sure but I fought it for a WHILE
(16:13:35) Paco-Paco: it took me forever to track it down
(16:13:38) Paco-Paco: I kept overlooking it
(16:15:08) Paco-Paco: why do they bother telling me to expect some disruption?
(16:20:04) Paco-Paco: we're totally going to have Tcl by 0.68
(16:20:24) ChipX86: nice
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Mon, 11 Aug 2003 20:23:56 +0000 |
parents | 81564bb4db68 |
children | 70d5122bc3ff |
comparison
equal
deleted
inserted
replaced
6431:a10a256b6784 | 6432:f9428d38c03b |
---|---|
84 } | 84 } |
85 | 85 |
86 static gboolean | 86 static gboolean |
87 loader_supports_file(GaimPlugin *loader, const char *filename) | 87 loader_supports_file(GaimPlugin *loader, const char *filename) |
88 { | 88 { |
89 GList *l, *exts; | 89 GList *exts; |
90 GaimPlugin *plugin; | 90 |
91 | 91 for (exts = GAIM_PLUGIN_LOADER_INFO(loader)->exts; exts != NULL; exts = exts->next) { |
92 for (l = plugin_loaders; l != NULL; l = l->next) { | 92 if (is_so_file(filename, (char *)exts->data)) { |
93 plugin = l->data; | 93 return TRUE; |
94 | |
95 for (exts = GAIM_PLUGIN_LOADER_INFO(plugin)->exts; | |
96 exts != NULL; | |
97 exts = exts->next) { | |
98 | |
99 if (is_so_file(filename, (char *)exts->data)) | |
100 return TRUE; | |
101 } | 94 } |
102 } | 95 } |
103 | 96 |
104 return FALSE; | 97 return FALSE; |
105 } | 98 } |