mirror of
https://github.com/lbonn/rofi
synced 2024-11-15 16:38:00 +00:00
Don't depend on latest of glib.
This commit is contained in:
parent
35e2e2a1cb
commit
539172187f
1 changed files with 1 additions and 1 deletions
|
@ -580,7 +580,7 @@ static void drun_mode_destroy ( Mode *sw )
|
||||||
g_async_queue_lock ( rmpd->icon_fetch_queue );
|
g_async_queue_lock ( rmpd->icon_fetch_queue );
|
||||||
while ( g_async_queue_try_pop_unlocked ( rmpd->icon_fetch_queue ) );
|
while ( g_async_queue_try_pop_unlocked ( rmpd->icon_fetch_queue ) );
|
||||||
// Make the thread quit.
|
// Make the thread quit.
|
||||||
g_async_queue_push_front_unlocked ( rmpd->icon_fetch_queue, (gpointer) &(rmpd->quit_entry));
|
g_async_queue_push_unlocked ( rmpd->icon_fetch_queue, (gpointer) &(rmpd->quit_entry));
|
||||||
g_async_queue_unlock ( rmpd->icon_fetch_queue );
|
g_async_queue_unlock ( rmpd->icon_fetch_queue );
|
||||||
g_thread_join ( rmpd->thread );
|
g_thread_join ( rmpd->thread );
|
||||||
rmpd->thread = NULL;
|
rmpd->thread = NULL;
|
||||||
|
|
Loading…
Reference in a new issue