comparison src/plugin.c @ 6635:96c5630f8d1d

[gaim-migrate @ 7159] Removed the error notification when a plugin doesn't return valid info. Instead, silently ignore it and destroy the plugin structure. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 26 Aug 2003 23:35:28 +0000
parents fab81e4b885c
children 1b91cb6be4c3
comparison
equal deleted inserted replaced
6634:dd0d238edf21 6635:96c5630f8d1d
207 } 207 }
208 208
209 plugin->error = NULL; 209 plugin->error = NULL;
210 210
211 if (!gaim_init_plugin(plugin) || plugin->info == NULL) { 211 if (!gaim_init_plugin(plugin) || plugin->info == NULL) {
212 char buf[BUFSIZ];
213
214 g_snprintf(buf, sizeof(buf),
215 _("The plugin %s did not return any valid plugin "
216 "information"),
217 plugin->path);
218
219 gaim_notify_error(NULL, NULL,
220 _("Gaim was unable to load your plugin."), buf);
221
222 gaim_plugin_destroy(plugin); 212 gaim_plugin_destroy(plugin);
223 213
224 return NULL; 214 return NULL;
225 } 215 }
226 216