summaryrefslogtreecommitdiffstats
path: root/test/textbox-test.c
diff options
context:
space:
mode:
authorQuentin Glidic <sardemff7+git@sardemff7.net>2017-06-03 20:04:21 +0200
committerQuentin Glidic <sardemff7+git@sardemff7.net>2017-06-03 20:04:21 +0200
commit0adc0d7c086c57aebad3a9303e524f0e4d8d67a8 (patch)
tree520ed7d2c771a7bd222e1739d9e1e174b69a46d2 /test/textbox-test.c
parenta2620745e22433197dd10aa4a47b60d42491591b (diff)
view: Always create textbox with type
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
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 edb2d0ff..3db11524 100644
--- a/test/textbox-test.c
+++ b/test/textbox-test.c
@@ -92,7 +92,7 @@ int main ( G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv )
textbox_set_pango_context ( "default", p );
- textbox *box = textbox_create ( "textbox", TB_EDITABLE | TB_AUTOWIDTH | TB_AUTOHEIGHT, NORMAL, "test" );
+ textbox *box = textbox_create ( WIDGET_TYPE_TEXTBOX_TEXT, "textbox", TB_EDITABLE | TB_AUTOWIDTH | TB_AUTOHEIGHT, NORMAL, "test" );
TASSERT ( box != NULL );
textbox_keybinding ( box, MOVE_END );