diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-09-27 22:38:26 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-09-27 22:38:26 +0200 |
commit | 0da0587087129825f27df4a6229383be892b3bf0 (patch) | |
tree | 975ae918adac281689203cca19a8ae6fb3de42de /test | |
parent | 89acc7b6edc80c54d1746348ed02329a08c50b41 (diff) |
Make widget_free work on textbox and scrollbar, use widget specific free.
Diffstat (limited to 'test')
-rw-r--r-- | test/textbox-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/textbox-test.c b/test/textbox-test.c index a7093d70..cb679695 100644 --- a/test/textbox-test.c +++ b/test/textbox-test.c @@ -129,6 +129,6 @@ int main ( G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv ) TASSERT ( box->widget.x == 12 ); TASSERT ( box->widget.y == 13 ); - textbox_free ( box ); + widget_free ( WIDGET ( box ) ); textbox_cleanup ( ); } |