summaryrefslogtreecommitdiffstats
path: root/source/view.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-04-20 08:08:18 +0200
committerDave Davenport <qball@gmpclient.org>2016-04-20 08:08:18 +0200
commit44481cdb406db72f4550c0718c96ffb248dd77d0 (patch)
tree4c5ff0583d6bedd90cf6343568e85ad81b002ed6 /source/view.c
parent3918625804053bec0d98d2519fb86d698cf56a7b (diff)
Small cleanups, fix worker error dialog.
Diffstat (limited to 'source/view.c')
-rw-r--r--source/view.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/view.c b/source/view.c
index 23104656..a4d9a444 100644
--- a/source/view.c
+++ b/source/view.c
@@ -1804,8 +1804,7 @@ void rofi_view_workers_initialize ( void )
}
// If error occured during setup of pool, tell user and exit.
if ( error != NULL ) {
- char *msg = g_strdup_printf ( "Failed to setup thread pool: '%s'", error->message );
- g_free ( msg );
+ fprintf ( stderr, "Failed to setup thread pool: '%s'", error->message );
g_error_free ( error );
exit ( EXIT_FAILURE );
}