diff options
author | Quentin Glidic <sardemff7+git@sardemff7.net> | 2017-06-02 14:27:47 +0200 |
---|---|---|
committer | Quentin Glidic <sardemff7+git@sardemff7.net> | 2017-06-02 14:27:47 +0200 |
commit | dc1417ba724309955dd8d12bf38eaeccc106129d (patch) | |
tree | 997a2265243259ba33de218a14873a1c5a80d4d8 /source | |
parent | 0daab1844efe172318e68909520ec8b97a3acff9 (diff) |
drun: Fix thread function signature
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Diffstat (limited to 'source')
-rw-r--r-- | source/dialogs/drun.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/dialogs/drun.c b/source/dialogs/drun.c index 83aabef4..51aba5e1 100644 --- a/source/dialogs/drun.c +++ b/source/dialogs/drun.c @@ -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 ) |