summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-09-27 22:38:26 +0200
committerDave Davenport <qball@gmpclient.org>2016-09-27 22:38:26 +0200
commit0da0587087129825f27df4a6229383be892b3bf0 (patch)
tree975ae918adac281689203cca19a8ae6fb3de42de /test
parent89acc7b6edc80c54d1746348ed02329a08c50b41 (diff)
Make widget_free work on textbox and scrollbar, use widget specific free.
Diffstat (limited to 'test')
-rw-r--r--test/textbox-test.c2
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 ( );
}