From 61e537a05f2bccdf0fa8fd693ef0f1178e29e2bc Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Sat, 25 Mar 2017 14:23:31 +0100 Subject: ISSUE 576: Clutching at straws. * Don't use atexit anymore. (what happens with g_spawn and atexit? should be fine, but a test). * Even though not needed, force wait on running thread (of which there should be none) when destroy thread pool. --- source/dialogs/drun.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/dialogs') diff --git a/source/dialogs/drun.c b/source/dialogs/drun.c index 844bb7ef..1eab9d19 100644 --- a/source/dialogs/drun.c +++ b/source/dialogs/drun.c @@ -371,8 +371,8 @@ static void get_apps_history ( DRunModePrivateData *pd ) for ( unsigned int index = 0; index < length; index++ ) { char **st = g_strsplit ( retv[index], ":::", 2 ); if ( st && st[0] && st[1] ) { - if ( ! read_desktop_file ( pd, st[0], st[1] ) ) { - history_remove ( path, retv[index]); + if ( !read_desktop_file ( pd, st[0], st[1] ) ) { + history_remove ( path, retv[index] ); } } g_strfreev ( st ); -- cgit v1.2.3