line-visualizer: lower task priority

Keep task priorities lower than the Gtk main loop.
This commit is contained in:
Christian Hergert
2017-09-28 13:25:22 -07:00
parent cad87dee49
commit a71f05b885

View File

@ -640,6 +640,7 @@ sp_line_visualizer_row_load_data_async (SpLineVisualizerRow *self,
g_assert (!cancellable || G_IS_CANCELLABLE (cancellable));
task = g_task_new (self, cancellable, callback, user_data);
g_task_set_priority (task, G_PRIORITY_LOW);
g_task_set_source_tag (task, sp_line_visualizer_row_load_data_async);
if (priv->reader == NULL)