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 @@ -15,6 +15,10 @@ unsigned int test =0; 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 ) {