eds: Ensure the default role is non-empty
authorPhilip Withnall <philip@tecnocode.co.uk>
Sun, 25 Dec 2011 10:58:38 +0000 (10:58 +0000)
committerPhilip Withnall <philip@tecnocode.co.uk>
Sun, 25 Dec 2011 10:58:38 +0000 (10:58 +0000)
commite5a2b01dceb57acad6104fa75e13623be10231a5
tree72d179da5f4e5e674262cd8ade8d201359ba5f32
parenta99f47a196bee5a5ab258a010f7dcc173bbf7a42
eds: Ensure the default role is non-empty

If the default role is empty (e.g. because EDS returns empty strings as the
contact's title, org or role; rather than null), don't add it to the
Persona.

Helps: bgo#666540
backends/eds/lib/edsf-persona.vala