diff options
author | Dave Davenport <DaveDavenport@users.noreply.github.com> | 2015-07-29 20:09:45 +0200 |
---|---|---|
committer | Dave Davenport <DaveDavenport@users.noreply.github.com> | 2015-07-29 20:09:45 +0200 |
commit | 9167cffd27428c506b12afe8b1e7ae861d20fd1e (patch) | |
tree | 81278b8512fc2412ac424a2bed230b9a52d1f621 /test/helper-test.c | |
parent | b3a77589eb4210058e7ecda66eb8d6996d5bdf9c (diff) | |
parent | c0cb4df860f3b7426624fb617efa5b1bc4057283 (diff) |
Merge pull request #197 from DaveDavenport/signalhandler
Signalhandler
Diffstat (limited to 'test/helper-test.c')
-rw-r--r-- | test/helper-test.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/helper-test.c b/test/helper-test.c index 15bd2def..2a22929f 100644 --- a/test/helper-test.c +++ b/test/helper-test.c @@ -10,6 +10,17 @@ static int test = 0; assert ( a ); \ printf ( "Test %i passed (%s)\n", ++test, # a ); \ } + +void error_dialog ( const char *msg, G_GNUC_UNUSED int markup ) +{ + fputs ( msg, stderr ); +} + +void show_error_message ( const char *msg, int markup ) +{ + error_dialog ( msg, markup ); +} + int main ( int argc, char ** argv ) { cmd_set_arguments ( argc, argv ); |