diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-06-20 21:02:13 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-06-20 21:02:13 +0200 |
commit | 9af191de26611ce5025e3363dafd0cdbf8ab38b9 (patch) | |
tree | ceb95d1459863792b0201fc927ca4919dcb25882 /test | |
parent | 4d813a53918dd329c2bb87f34c381995f138b3d3 (diff) |
Fix tests by splitting types name into separate file.
Diffstat (limited to 'test')
-rw-r--r-- | test/box-test.c | 3 | ||||
-rw-r--r-- | test/scrollbar-test.c | 3 | ||||
-rw-r--r-- | test/textbox-test.c | 3 | ||||
-rw-r--r-- | test/widget-test.c | 3 |
4 files changed, 8 insertions, 4 deletions
diff --git a/test/box-test.c b/test/box-test.c index e2fdb2d5..7cc437d3 100644 --- a/test/box-test.c +++ b/test/box-test.c @@ -63,8 +63,9 @@ unsigned int test =0; } \ } -void config_parse_set_property ( G_GNUC_UNUSED const Property *p ) +gboolean config_parse_set_property ( G_GNUC_UNUSED const Property *p, char **error ) { + return FALSE; } char * rofi_expand_path ( G_GNUC_UNUSED const char *path ) { diff --git a/test/scrollbar-test.c b/test/scrollbar-test.c index c9fdc140..f69b3eb7 100644 --- a/test/scrollbar-test.c +++ b/test/scrollbar-test.c @@ -59,8 +59,9 @@ char * helper_get_theme_path ( const char *file ) { return g_strdup ( file ); } -void config_parse_set_property ( G_GNUC_UNUSED const Property *p ) +gboolean config_parse_set_property ( G_GNUC_UNUSED const Property *p, char **error ) { + return FALSE; } void rofi_add_error_message ( G_GNUC_UNUSED GString *msg ) {} diff --git a/test/textbox-test.c b/test/textbox-test.c index be53516e..94703a85 100644 --- a/test/textbox-test.c +++ b/test/textbox-test.c @@ -52,8 +52,9 @@ unsigned int normal_window_mode = 0; #include "view.h" -void config_parse_set_property ( G_GNUC_UNUSED const Property *p ) +gboolean config_parse_set_property ( G_GNUC_UNUSED const Property *p, char **error ) { + return FALSE; } void rofi_add_error_message ( G_GNUC_UNUSED GString *msg) diff --git a/test/widget-test.c b/test/widget-test.c index 78cd4c4a..3313ac7e 100644 --- a/test/widget-test.c +++ b/test/widget-test.c @@ -43,8 +43,9 @@ unsigned int test =0; assert ( a ); \ printf ( "Test %3i passed (%s)\n", ++test, # a ); \ } -void config_parse_set_property ( G_GNUC_UNUSED const Property *p ) +gboolean config_parse_set_property ( G_GNUC_UNUSED const Property *p, char **error ) { + return FALSE; } void rofi_add_error_message ( G_GNUC_UNUSED GString *msg ) { |