diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-01-03 19:35:23 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-01-03 19:35:23 +0100 |
commit | da917993f791c2352adc7fc5cedd6135fa98f9a5 (patch) | |
tree | 83bbf08580de041bf810882f2ff144f001d81de6 | |
parent | f9fc01b176f177bc744aaba643c9a12d0b511e30 (diff) |
Fix tests
-rw-r--r-- | test/box-test.c | 4 | ||||
-rw-r--r-- | test/scrollbar-test.c | 5 | ||||
-rw-r--r-- | test/textbox-test.c | 3 | ||||
-rw-r--r-- | test/widget-test.c | 4 |
4 files changed, 16 insertions, 0 deletions
diff --git a/test/box-test.c b/test/box-test.c index 7598bacd..bacd49cf 100644 --- a/test/box-test.c +++ b/test/box-test.c @@ -27,6 +27,10 @@ int textbox_get_estimated_char_height ( void ) { return 16; } +void rofi_view_get_current_monitor ( int *width, int *height ) +{ + +} static gboolean test_widget_clicked ( G_GNUC_UNUSED widget *wid, G_GNUC_UNUSED xcb_button_press_event_t* xce, G_GNUC_UNUSED void *data ) diff --git a/test/scrollbar-test.c b/test/scrollbar-test.c index 3e658b48..28f12663 100644 --- a/test/scrollbar-test.c +++ b/test/scrollbar-test.c @@ -33,6 +33,11 @@ void color_separator ( G_GNUC_UNUSED void *d ) } +void rofi_view_get_current_monitor ( int *width, int *height ) +{ + +} + int main ( G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv ) { scrollbar * sb = scrollbar_create ( "scrollbar", 3); diff --git a/test/textbox-test.c b/test/textbox-test.c index 6ed31c3c..3a04cea4 100644 --- a/test/textbox-test.c +++ b/test/textbox-test.c @@ -24,7 +24,10 @@ unsigned int normal_window_mode = 0; void rofi_view_queue_redraw () { } +void rofi_view_get_current_monitor ( int *width, int *height ) +{ +} int rofi_view_error_dialog ( const char *msg, G_GNUC_UNUSED int markup ) { fputs ( msg, stderr ); diff --git a/test/widget-test.c b/test/widget-test.c index 6d11d7da..58ad7c4f 100644 --- a/test/widget-test.c +++ b/test/widget-test.c @@ -16,6 +16,10 @@ void rofi_view_queue_redraw ( void ) { } +void rofi_view_get_current_monitor ( int *width, int *height ) +{ + +} int rofi_view_error_dialog ( const char *msg, G_GNUC_UNUSED int markup ) { fputs ( msg, stderr ); |