try solve g_idle_add or gdk_threads_add_idle under win32 platform