Mercurial > pidgin
comparison src/plugin.c @ 10737:b7f0bc436179
[gaim-migrate @ 12339]
Some notes
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Sat, 26 Mar 2005 19:19:33 +0000 |
| parents | c604c88a7530 |
| children | 5cda52915a1f |
comparison
equal
deleted
inserted
replaced
| 10736:703f722d076f | 10737:b7f0bc436179 |
|---|---|
| 207 | 207 |
| 208 plugin = gaim_plugin_new(has_file_extension(filename, GAIM_PLUGIN_EXT), filename); | 208 plugin = gaim_plugin_new(has_file_extension(filename, GAIM_PLUGIN_EXT), filename); |
| 209 | 209 |
| 210 if (plugin->native_plugin) { | 210 if (plugin->native_plugin) { |
| 211 const char *error; | 211 const char *error; |
| 212 /* | |
| 213 * TODO: Should pass the G_MODULE_BIND_LOCAL parameter to | |
| 214 * g_module_open(). It enforces plugin separation so that | |
| 215 * symbols from plugins are not added to the global name | |
| 216 * space. However, it caused problems with using a | |
| 217 * perl script for me. If it works for you then go for it. | |
| 218 */ | |
| 212 plugin->handle = g_module_open(filename, 0); | 219 plugin->handle = g_module_open(filename, 0); |
| 213 | 220 |
| 214 if (plugin->handle == NULL) | 221 if (plugin->handle == NULL) |
| 215 { | 222 { |
| 216 error = g_module_error(); | 223 error = g_module_error(); |
