button_get_text() shouldn't return 'const'.
commit5fad7508c535cc8e92af03de9b37f4b52eaa6979
authorMooffie <mooffie@gmail.com>
Fri, 13 Nov 2015 14:11:29 +0000 (13 16:11 +0200)
committerAndrew Borodin <aborodin@vmail.ru>
Fri, 1 Jan 2016 08:48:06 +0000 (1 11:48 +0300)
tree37396de1932a2f3da5208553b0b2bb755fc3eed4
parent2627da4b735a8f53728b9f83ff76106b553dc78e
button_get_text() shouldn't return 'const'.

As it's a newly allocated string which the caller needs to free.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
lib/widget/button.c
lib/widget/button.h