Fix bug in progress update from rendering thread which results in the creation of multipe idel callbacks at the same time.

This commit is contained in:
2019-08-22 19:31:47 +02:00
parent 7aa7a0c773
commit c908a8be47
2 changed files with 14 additions and 8 deletions

View File

@@ -293,13 +293,15 @@ static void async_rendering_finished_callback(GdsOutputRenderer *renderer, gpoin
g_object_unref(renderer);
}
static void async_rendering_status_update_callback(GdsOutputRenderer *renderer, const char *status_message, gpointer data)
static void async_rendering_status_update_callback(GdsOutputRenderer *renderer, char *status_message, gpointer data)
{
GdsRenderGui *gui;
(void)renderer;
gui = RENDERER_GUI(data);
activity_bar_set_busy(gui->activity_status_bar, status_message);
g_free(status_message);
}
/**