worldclock: fix linking issue with malloc 92/138192/2 submit/tizen/20170717.135244
authorLukasz Stanislawski <l.stanislaws@samsung.com>
Tue, 11 Jul 2017 10:48:45 +0000 (12:48 +0200)
committerLukasz Stanislawski <l.stanislaws@samsung.com>
Mon, 17 Jul 2017 10:17:44 +0000 (10:17 +0000)
commitb5c29eebbc962c392093b5456e9233a69be7c0d5
tree77e701183e68c04b0329521691701206f28c6c46
parente84f1b3c053364019237369d442a8f0cd6355c1d
worldclock: fix linking issue with malloc

The Worldclock was using 'malloc' to construct Edje_Message_Int_Set struct.
This leads to problems on Tizen SDK 4.0 build, when during linking
'malloc' symbol was resolved not from glibc, but from libchromium-ewk.so.

This lead to crash when trying to use chromium's malloc.

Due to way how SDK build system works, I cannot remove libchromium from link options.
Instead I removed all usage of malloc in code.

Additionally add static to internal function

Change-Id: I87d188b959dfdedd175986ac102b46db062964a9
clock/src/View/AlarmView.cpp
clock/src/View/WorldClockView.cpp