summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-03-05 20:16:10 +0100
committerDave Davenport <qball@gmpclient.org>2016-03-05 20:16:10 +0100
commit1aed0427f92336a28ec8449d94d76c3045a69b32 (patch)
tree2e30d3e93f9ad96802ec6c5c10baef78181f34b4 /test
parent9978feb600d8d9ce2f10ea67e26a9337e9da528e (diff)
Remove hack with config file.
Diffstat (limited to 'test')
-rw-r--r--test/textbox-test.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/textbox-test.c b/test/textbox-test.c
index 2988dac4..a7093d70 100644
--- a/test/textbox-test.c
+++ b/test/textbox-test.c
@@ -24,8 +24,10 @@ unsigned int normal_window_mode = 0;
void rofi_view_queue_redraw ()
{
}
-Color color_get ( const char *name )
+Color color_get ( G_GNUC_UNUSED const char *name )
{
+ Color retv = { 1.0, 1.0, 1.0, 1.0 };
+ return retv;
}
int rofi_view_error_dialog ( const char *msg, G_GNUC_UNUSED int markup )
@@ -34,7 +36,7 @@ int rofi_view_error_dialog ( const char *msg, G_GNUC_UNUSED int markup )
return FALSE;
}
-int abe_test_action ( KeyBindingAction action, unsigned int mask, xkb_keysym_t key )
+int abe_test_action ( G_GNUC_UNUSED KeyBindingAction action, G_GNUC_UNUSED unsigned int mask, G_GNUC_UNUSED xkb_keysym_t key )
{
return FALSE;
}