Mercurial > pidgin
comparison src/plugin.c @ 12696:18e619ed4eaf
[gaim-migrate @ 15039]
just guessing, but I think this is right
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Tue, 03 Jan 2006 13:55:42 +0000 |
parents | 0bc110c7ab91 |
children | 2b53185e5d8f |
comparison
equal
deleted
inserted
replaced
12695:0bc110c7ab91 | 12696:18e619ed4eaf |
---|---|
236 } | 236 } |
237 } | 237 } |
238 | 238 |
239 plugin = gaim_plugin_new(has_file_extension(filename, G_MODULE_SUFFIX), filename); | 239 plugin = gaim_plugin_new(has_file_extension(filename, G_MODULE_SUFFIX), filename); |
240 | 240 |
241 if (plugin->native_plugin) { | |
242 const char *error; | |
243 #ifdef _WIN32 | 241 #ifdef _WIN32 |
244 /* Suppress error popups for failing to load plugins */ | 242 /* Suppress error popups for failing to load plugins */ |
245 UINT old_error_mode = SetErrorMode(SEM_FAILCRITICALERRORS); | 243 UINT old_error_mode = SetErrorMode(SEM_FAILCRITICALERRORS); |
246 #endif | 244 #endif |
245 | |
246 if (plugin->native_plugin) { | |
247 const char *error; | |
247 /* | 248 /* |
248 * We pass G_MODULE_BIND_LOCAL here to prevent symbols from | 249 * We pass G_MODULE_BIND_LOCAL here to prevent symbols from |
249 * plugins being added to the global name space. | 250 * plugins being added to the global name space. |
250 * | 251 * |
251 * G_MODULE_BIND_LOCAL was added in glib 2.3.3. | 252 * G_MODULE_BIND_LOCAL was added in glib 2.3.3. |