Remove call to g_task_set(). It is not available under debian

This commit is contained in:
Mario Hüttel 2019-11-19 01:33:44 +01:00
parent 86342da2a2
commit 4970585cee

View File

@ -366,7 +366,9 @@ int gds_output_renderer_render_output_async(GdsOutputRenderer *renderer, struct
} }
priv->task = g_task_new(renderer, NULL, gds_output_renderer_async_finished, NULL); priv->task = g_task_new(renderer, NULL, gds_output_renderer_async_finished, NULL);
g_task_set_name(priv->task, "Rendering Thread");
/* This function is not available on current debian distros. */
/* g_task_set_name(priv->task, "Rendering Thread"); */
g_mutex_lock(&priv->settings_lock); g_mutex_lock(&priv->settings_lock);
priv->async_params.cell = cell; priv->async_params.cell = cell;