e/bluez4: cleanup and fixes
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Fri, 4 Jan 2013 16:13:43 +0000 (16:13 +0000)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Fri, 4 Jan 2013 16:13:43 +0000 (16:13 +0000)
commit9a101b9777e3ec759149da2d606499363dfc3eeb
treeaeca0e2f10be878ff4b0bb5de37ba07832c0136a
parent07cc9c96594d14cdb822137c74b7922cd67563f4
e/bluez4: cleanup and fixes

 - Change module name in whitelist. Its name is bluez4 since it only
   supports bluez 4 API. The day it (automatically) also supports bluez 5,
   we rename it back.
 - Use eina_stringshare_replace when possible
 - Change huge if (strcmp(icon, "...") return "....." with a table.
 - Don't use stringshare when not needed. There's no reason to
   stringshare the icon, just use the static const ones
 - Sanitize edbus method table
 - Remove bogus NONE entry after NULL in services table
 - Fix coding style
 - Generalize _unset_dev() to work with any list

SVN revision: 82208
src/bin/e_module.c
src/modules/bluez4/agent.c
src/modules/bluez4/ebluez4.c