summaryrefslogtreecommitdiffstats
path: root/source/dialogs
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-03-25 14:23:31 +0100
committerDave Davenport <qball@gmpclient.org>2017-03-25 14:23:31 +0100
commit61e537a05f2bccdf0fa8fd693ef0f1178e29e2bc (patch)
treec997dc85c0db0cc3be64360804da33e267837b86 /source/dialogs
parent0900b0d925113db76da018f678785340106741f1 (diff)
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.
Diffstat (limited to 'source/dialogs')
-rw-r--r--source/dialogs/drun.c4
1 files changed, 2 insertions, 2 deletions
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 );