diff options
author | Quentin Glidic <sardemff7+git@sardemff7.net> | 2017-05-04 14:52:57 +0200 |
---|---|---|
committer | Quentin Glidic <sardemff7+git@sardemff7.net> | 2017-05-04 14:55:58 +0200 |
commit | 1bbb19b4cb35d984b7b83038aaf341030dc6be96 (patch) | |
tree | 7d396a2aa17a8b241c25d583f031581007c8528f | |
parent | 7f78031bda1841fdc49709874d4ee318d886515a (diff) |
tests: Drop leftover placeholder functions
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
-rw-r--r-- | test/helper-config-cmdline-parser.c | 6 | ||||
-rw-r--r-- | test/helper-expand.c | 5 | ||||
-rw-r--r-- | test/helper-pidfile.c | 5 | ||||
-rw-r--r-- | test/helper-test.c | 5 | ||||
-rw-r--r-- | test/helper-tokenize.c | 5 | ||||
-rw-r--r-- | test/scrollbar-test.c | 4 | ||||
-rw-r--r-- | test/textbox-test.c | 10 | ||||
-rw-r--r-- | test/theme-parser-test.c | 5 |
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 ) { |