1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

Fix tests

This commit is contained in:
Dave Davenport 2017-01-03 19:35:23 +01:00
parent f9fc01b176
commit da917993f7
4 changed files with 16 additions and 0 deletions

View file

@ -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 )

View file

@ -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);

View file

@ -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 );

View file

@ -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 )
{