diff options
Diffstat (limited to 'font-viewer/sushi-font-loader.c')
-rw-r--r-- | font-viewer/sushi-font-loader.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/font-viewer/sushi-font-loader.c b/font-viewer/sushi-font-loader.c index 1991a861..de6d1d99 100644 --- a/font-viewer/sushi-font-loader.c +++ b/font-viewer/sushi-font-loader.c @@ -141,9 +141,7 @@ font_load_job (GIOSchedulerJob *sched_job, if (error != NULL) g_simple_async_result_take_error (job->result, error); - g_io_scheduler_job_send_to_mainloop_async (sched_job, - font_load_job_callback, - job, NULL); + g_main_context_invoke (NULL, font_load_job_callback, job); return FALSE; } |