summaryrefslogtreecommitdiffstats
path: root/test/textbox-test.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2015-02-18 08:53:38 +0100
committerDave Davenport <qball@gmpclient.org>2015-02-18 08:53:38 +0100
commit8b50e94fea022c3bae6a3003dd6983511a636c27 (patch)
treebc303f926f3c7d8928553edf59a7e0ed8037d482 /test/textbox-test.c
parent95f7d2d7cdb8e056dc5da42151ad966a6b60c0c4 (diff)
Make compiler more picky.
Add -Werror=missing-prototypes
Diffstat (limited to 'test/textbox-test.c')
-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 bd8ef80f..fdab21ec 100644
--- a/test/textbox-test.c
+++ b/test/textbox-test.c
@@ -97,7 +97,7 @@ int main ( G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv )
TASSERT( textbox_get_width( box) >= textbox_get_font_width( box) );
TASSERT( textbox_get_height( box) >= textbox_get_font_height( box) );
- TASSERT( textbox_get_estimated_char_width ( box) > 0 );
+ TASSERT( textbox_get_estimated_char_width ( ) > 0 );
textbox_cursor_bkspc ( box );
TASSERT ( strcmp(box->text, "tesbo") == 0 );