util: explicite unset cb 13/59213/2
authorLukasz Stanislawski <l.stanislaws@samsung.com>
Thu, 11 Feb 2016 11:06:01 +0000 (12:06 +0100)
committerLukasz Stanislawski <l.stanislaws@samsung.com>
Thu, 11 Feb 2016 12:32:02 +0000 (04:32 -0800)
commitb8c0a63f8fbc8e89942bca514906816ec77b5236
tree6d9b0897109790c55c36dc0b8b84291a23a54923
parentcbaca8979770596362ce62d66fdc20d9044c789d
util: explicite unset cb

System settings and runtime info API seems to throw an error
if key-callback pair is trying to be replaced with the same
key-callback pair. To solve this explicite unset current key
callback before setting new one.

Additionally improve some error logs.

Change-Id: I6116366a833f26634d2886f95506e0048955df70
Signed-off-by: Lukasz Stanislawski <l.stanislaws@samsung.com>
src/util.c