Change signature of text_to_value.
authorJohn Darrington <john@darrington.wattle.id.au>
Fri, 24 Jul 2009 17:23:43 +0000 (19:23 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Fri, 24 Jul 2009 17:23:43 +0000 (19:23 +0200)
commitd8659cda7d193dd3e6e035cd0b1b40493d360f0b
treeb1e57827c510a0e2ad133f9b46cb9c4b56e57f27
parent04b418d95b3a0394fc7726087be7fa331d98b944
Change signature of text_to_value.

Now, text_to_value initialises the value, and expects
the caller to destroy it.

This fixes some gui bugs where strange things happened with long string
value labels and missing values.
src/ui/gui/find-dialog.c
src/ui/gui/helper.c
src/ui/gui/helper.h
src/ui/gui/missing-val-dialog.c
src/ui/gui/val-labs-dialog.c