drun: Fix thread function signature

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
Quentin Glidic 2017-06-02 14:27:47 +02:00
parent 0daab1844e
commit dc1417ba72
No known key found for this signature in database
GPG Key ID: AC203F96E2C34BB7
1 changed files with 2 additions and 1 deletions

View File

@ -420,7 +420,7 @@ static void get_apps ( DRunModePrivateData *pd )
TICK_N ( "Get Desktop apps (system dirs)" );
}
static void drun_icon_fetch ( gpointer data )
static gpointer drun_icon_fetch ( gpointer data )
{
// as long as dr->icon is updated atomicly.. (is a pointer write atomic?)
// this should be fine running in another thread.
@ -462,6 +462,7 @@ static void drun_icon_fetch ( gpointer data )
rofi_view_reload ();
g_log ( G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "elapsed: %f\n", g_timer_elapsed ( t, NULL ) );
g_timer_destroy ( t );
return NULL;
}
static int drun_mode_init ( Mode *sw )