diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-04-17 18:07:50 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-04-17 18:07:50 +0200 |
commit | f23d035e52ffed641d147015a264c2c6eccc32ed (patch) | |
tree | f8f935dd09648acb2c4904ef9d07ecdd9bf6fa61 | |
parent | 97fe894f436ecd8561bba393b2878818d951cdeb (diff) |
Fix checks
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | test/box-test.c | 5 | ||||
-rw-r--r-- | test/scrollbar-test.c | 5 |
3 files changed, 13 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index c3ced0d8..dfc50ea4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -233,6 +233,7 @@ history_test_CFLAGS=\ $(AM_CFLAGS)\ $(glib_CFLAGS)\ $(libsn_CFLAGS)\ + -DTHEME_DIR=\"${prefix}/share/rofi/themes/\"\ -I$(top_srcdir)/include/\ -I$(top_srcdir)/config/\ -I$(top_builddir)/ @@ -258,6 +259,7 @@ textbox_test_CFLAGS=\ $(GW_XCB_CFLAGS)\ $(cairo_CFLAGS)\ $(libsn_CFLAGS)\ + -DTHEME_DIR=\"${prefix}/share/rofi/themes/\"\ -I$(top_srcdir)/include/\ -I$(top_srcdir)/config/\ -I$(top_builddir)/ @@ -397,6 +399,7 @@ helper_test_CFLAGS=\ $(GW_XCB_CFLAGS)\ $(cairo_CFLAGS)\ $(libsn_CFLAGS)\ + -DTHEME_DIR=\"${prefix}/share/rofi/themes/\"\ -I$(top_srcdir)/include/\ -I$(top_srcdir)/config/\ -I$(top_builddir)/ diff --git a/test/box-test.c b/test/box-test.c index 9e0b524e..bb104cab 100644 --- a/test/box-test.c +++ b/test/box-test.c @@ -57,6 +57,11 @@ char * rofi_expand_path ( const char *path ) { } + +char * helper_get_theme_path ( const char *file ) +{ + return g_strdup ( file ); +} void rofi_add_error_message ( GString *msg ) { } diff --git a/test/scrollbar-test.c b/test/scrollbar-test.c index 46f02893..17c51d4b 100644 --- a/test/scrollbar-test.c +++ b/test/scrollbar-test.c @@ -49,6 +49,11 @@ unsigned int test =0; abort ( ); \ } \ } + +char * helper_get_theme_path ( const char *file ) +{ + return g_strdup ( file ); +} void config_parse_set_property ( const void *p ) { } |