summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/helper-config-cmdline-parser.c6
-rw-r--r--test/helper-expand.c5
-rw-r--r--test/helper-pidfile.c5
-rw-r--r--test/helper-test.c5
-rw-r--r--test/helper-tokenize.c5
-rw-r--r--test/scrollbar-test.c4
-rw-r--r--test/textbox-test.c10
-rw-r--r--test/theme-parser-test.c5
8 files changed, 0 insertions, 45 deletions
diff --git a/test/helper-config-cmdline-parser.c b/test/helper-config-cmdline-parser.c
index 473a4f85..1925d175 100644
--- a/test/helper-config-cmdline-parser.c
+++ b/test/helper-config-cmdline-parser.c
@@ -60,12 +60,6 @@ int rofi_view_error_dialog ( const char *msg, G_GNUC_UNUSED int markup )
return TRUE;
}
-int show_error_message ( const char *msg, int markup )
-{
- rofi_view_error_dialog ( msg, markup );
- return 0;
-}
-
int main ( G_GNUC_UNUSED int argc, G_GNUC_UNUSED char ** argv )
{
diff --git a/test/helper-expand.c b/test/helper-expand.c
index bbc9c155..edeb2883 100644
--- a/test/helper-expand.c
+++ b/test/helper-expand.c
@@ -61,11 +61,6 @@ int rofi_view_error_dialog ( const char *msg, G_GNUC_UNUSED int markup )
return TRUE;
}
-int show_error_message ( const char *msg, int markup )
-{
- rofi_view_error_dialog ( msg, markup );
- return 0;
-}
xcb_screen_t *xcb_screen;
xcb_ewmh_connection_t xcb_ewmh;
int xcb_screen_nbr;
diff --git a/test/helper-pidfile.c b/test/helper-pidfile.c
index 0815c9cf..ae62d90b 100644
--- a/test/helper-pidfile.c
+++ b/test/helper-pidfile.c
@@ -51,11 +51,6 @@ int rofi_view_error_dialog ( const char *msg, G_GNUC_UNUSED int markup )
return TRUE;
}
-int show_error_message ( const char *msg, G_GNUC_UNUSED int markup )
-{
- fputs ( msg, stderr );
- return 0;
-}
xcb_screen_t *xcb_screen;
xcb_ewmh_connection_t xcb_ewmh;
int xcb_screen_nbr;
diff --git a/test/helper-test.c b/test/helper-test.c
index 4114d0b5..f5410209 100644
--- a/test/helper-test.c
+++ b/test/helper-test.c
@@ -70,11 +70,6 @@ int rofi_view_error_dialog ( const char *msg, G_GNUC_UNUSED int markup )
return TRUE;
}
-int show_error_message ( const char *msg, int markup )
-{
- rofi_view_error_dialog ( msg, markup );
- return 0;
-}
xcb_screen_t *xcb_screen;
xcb_ewmh_connection_t xcb_ewmh;
int xcb_screen_nbr;
diff --git a/test/helper-tokenize.c b/test/helper-tokenize.c
index 22fffd03..a274c7f0 100644
--- a/test/helper-tokenize.c
+++ b/test/helper-tokenize.c
@@ -51,11 +51,6 @@ int rofi_view_error_dialog ( const char *msg, G_GNUC_UNUSED int markup )
return TRUE;
}
-int show_error_message ( const char *msg, G_GNUC_UNUSED int markup )
-{
- fputs ( msg, stderr );
- return 0;
-}
xcb_screen_t *xcb_screen;
xcb_ewmh_connection_t xcb_ewmh;
int xcb_screen_nbr;
diff --git a/test/scrollbar-test.c b/test/scrollbar-test.c
index 1a9ee848..b1b6e178 100644
--- a/test/scrollbar-test.c
+++ b/test/scrollbar-test.c
@@ -69,10 +69,6 @@ int textbox_get_estimated_char_height ( void )
{
return 16;
}
-void color_separator ( G_GNUC_UNUSED void *d )
-{
-
-}
void rofi_view_get_current_monitor ( G_GNUC_UNUSED int *width, G_GNUC_UNUSED int *height )
{
diff --git a/test/textbox-test.c b/test/textbox-test.c
index 3b1ceb7e..afba2943 100644
--- a/test/textbox-test.c
+++ b/test/textbox-test.c
@@ -69,16 +69,6 @@ int rofi_view_error_dialog ( const char *msg, G_GNUC_UNUSED int markup )
return FALSE;
}
-int abe_test_action ( G_GNUC_UNUSED KeyBindingAction action, G_GNUC_UNUSED unsigned int mask, G_GNUC_UNUSED xkb_keysym_t key )
-{
- return FALSE;
-}
-int show_error_message ( const char *msg, int markup )
-{
- rofi_view_error_dialog ( msg, markup );
- return 0;
-}
-
int main ( G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv )
{
cairo_surface_t *surf = cairo_image_surface_create ( CAIRO_FORMAT_ARGB32, 100, 100 );
diff --git a/test/theme-parser-test.c b/test/theme-parser-test.c
index 5e2b2728..fe383d12 100644
--- a/test/theme-parser-test.c
+++ b/test/theme-parser-test.c
@@ -48,11 +48,6 @@ int rofi_view_error_dialog ( const char *msg, G_GNUC_UNUSED int markup )
return TRUE;
}
-int show_error_message ( const char *msg, int markup )
-{
- rofi_view_error_dialog ( msg, markup );
- return 0;
-}
void rofi_view_get_current_monitor ( int *width, int *height )
{
if ( width ) {