libpurple/plugin.c

branch
soc.2008.masterpassword
changeset 34173
16c7de07a9cf
parent 34116
825c98f8c7f6
parent 33906
dc870eacc2d0
child 34449
bbcb198650b7
child 34783
cefe6df8c6c6
equal deleted inserted replaced
34172:db03a0efc8b4 34173:16c7de07a9cf
571 /* Third pass: note that other plugins are dependencies of this plugin. 571 /* Third pass: note that other plugins are dependencies of this plugin.
572 * This is done separately in case we had to bail out earlier. */ 572 * This is done separately in case we had to bail out earlier. */
573 for (l = dep_list; l != NULL; l = l->next) 573 for (l = dep_list; l != NULL; l = l->next)
574 { 574 {
575 PurplePlugin *dep_plugin = (PurplePlugin *)l->data; 575 PurplePlugin *dep_plugin = (PurplePlugin *)l->data;
576 dep_plugin->dependent_plugins = g_list_prepend(dep_plugin->dependent_plugins, plugin->info->id); 576 dep_plugin->dependent_plugins = g_list_prepend(dep_plugin->dependent_plugins, (gpointer)plugin->info->id);
577 } 577 }
578 578
579 g_list_free(dep_list); 579 g_list_free(dep_list);
580 580
581 if (plugin->native_plugin) 581 if (plugin->native_plugin)

mercurial