diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-09-07 13:46:09 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-09-07 13:46:09 +0200 |
commit | acfc07a63e056bff1338a3430acc3ea93bd9ecc6 (patch) | |
tree | cebdfb095949292decfa14644a0200c465df30f7 /test | |
parent | 72f050e2fc2f7fdc2565100b6e1c0ddc10910c53 (diff) |
Fix Inherit keyword
Diffstat (limited to 'test')
-rw-r--r-- | test/box-test.c | 6 | ||||
-rw-r--r-- | test/scrollbar-test.c | 2 | ||||
-rw-r--r-- | test/textbox-test.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/test/box-test.c b/test/box-test.c index 0d276d63..134ed521 100644 --- a/test/box-test.c +++ b/test/box-test.c @@ -98,7 +98,7 @@ void rofi_view_get_current_monitor ( G_GNUC_UNUSED int *width, G_GNUC_UNUSED int int main ( G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv ) { { - box *b = box_create ( "box", ROFI_ORIENTATION_HORIZONTAL ); + box *b = box_create ( NULL, "box", ROFI_ORIENTATION_HORIZONTAL ); //box_set_padding ( b, 5 ); widget_resize ( WIDGET (b), 100, 20); @@ -160,7 +160,7 @@ int main ( G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv ) widget_free ( WIDGET ( b ) ); } { - box *b = box_create ( "box", ROFI_ORIENTATION_VERTICAL ); + box *b = box_create ( NULL, "box", ROFI_ORIENTATION_VERTICAL ); widget_resize ( WIDGET (b), 20, 100); //box_set_padding ( b, 5 ); @@ -221,7 +221,7 @@ int main ( G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv ) widget_free ( WIDGET ( b ) ); } { - box *b = box_create ( "box", ROFI_ORIENTATION_VERTICAL ); + box *b = box_create ( NULL, "box", ROFI_ORIENTATION_VERTICAL ); widget_resize ( WIDGET (b), 20, 90); //box_set_padding ( b, 5 ); widget *wid1 = g_malloc0(sizeof(widget)); diff --git a/test/scrollbar-test.c b/test/scrollbar-test.c index 0fb98019..d9896d01 100644 --- a/test/scrollbar-test.c +++ b/test/scrollbar-test.c @@ -90,7 +90,7 @@ void rofi_view_get_current_monitor ( G_GNUC_UNUSED int *width, G_GNUC_UNUSED int int main ( G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv ) { - scrollbar * sb = scrollbar_create ( "scrollbar" ); + scrollbar * sb = scrollbar_create ( NULL, "scrollbar" ); widget_resize ( WIDGET (sb), 10, 100); scrollbar_set_handle ( NULL, 10213); diff --git a/test/textbox-test.c b/test/textbox-test.c index 94703a85..ad5049e8 100644 --- a/test/textbox-test.c +++ b/test/textbox-test.c @@ -93,7 +93,7 @@ int main ( G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv ) textbox_set_pango_context ( "default", p ); - textbox *box = textbox_create ( WIDGET_TYPE_TEXTBOX_TEXT, "textbox", TB_EDITABLE | TB_AUTOWIDTH | TB_AUTOHEIGHT, NORMAL, "test",0,0 ); + textbox *box = textbox_create ( NULL, WIDGET_TYPE_TEXTBOX_TEXT, "textbox", TB_EDITABLE | TB_AUTOWIDTH | TB_AUTOHEIGHT, NORMAL, "test",0,0 ); TASSERT ( box != NULL ); textbox_keybinding ( box, MOVE_END ); |