Mercurial > pidgin
comparison src/plugin.c @ 10884:5cda52915a1f
[gaim-migrate @ 12582]
Rename create_prpl_icon to gaim_gtk_create_prpl_icon, remove some dead
code from gtkconv, and use G_MODULE_BIND_LOCAL - this breaks perl plugins,
and should be added to the list of things that need fixing to save perl.
Semi-fix the raw plugin too, but only if your filesystem is being friendly
in where it puts stuff.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Thu, 28 Apr 2005 01:06:31 +0000 |
parents | b7f0bc436179 |
children | 4b0f64ab869c |
comparison
equal
deleted
inserted
replaced
10883:b0fdadf463d4 | 10884:5cda52915a1f |
---|---|
214 * g_module_open(). It enforces plugin separation so that | 214 * g_module_open(). It enforces plugin separation so that |
215 * symbols from plugins are not added to the global name | 215 * symbols from plugins are not added to the global name |
216 * space. However, it caused problems with using a | 216 * space. However, it caused problems with using a |
217 * perl script for me. If it works for you then go for it. | 217 * perl script for me. If it works for you then go for it. |
218 */ | 218 */ |
219 plugin->handle = g_module_open(filename, 0); | 219 plugin->handle = g_module_open(filename, G_MODULE_BIND_LOCAL); |
220 | 220 |
221 if (plugin->handle == NULL) | 221 if (plugin->handle == NULL) |
222 { | 222 { |
223 error = g_module_error(); | 223 error = g_module_error(); |
224 gaim_debug_error("plugins", "%s is unloadable: %s\n", | 224 gaim_debug_error("plugins", "%s is unloadable: %s\n", |