[ownCloud backend] Check color format before using it
authorMilan Crha <mcrha@redhat.com>
Tue, 22 Apr 2014 11:12:07 +0000 (13:12 +0200)
committerMilan Crha <mcrha@redhat.com>
Tue, 22 Apr 2014 11:21:09 +0000 (13:21 +0200)
commit546cd59017ef5e8313c22357990fb8a2265e6ff6
treed615a99af3f2c08e1e2a47c7fcc77ddb6b6071d4
parent3beee2d9006a1c5975cef5aafaef2aa6849515eb
[ownCloud backend] Check color format before using it

Calendar-based sources have always overwritten color, to ensure
the color defined on the server matches the one used in evolution,
but there was not checked whether the color is of the right format,
which may eventually cause reset of a user-specified color to
an invalid one, showing the calendar in an odd color.
modules/owncloud-backend/module-owncloud-backend.c