Modernize g_source_is_destroyed example
gtk_threads_{leave,enter} API is deprecated and a narrower critical section,guarding just idle_id manipulation, is better anyway.
Fixes: #2279 (closed)
gtk_threads_{leave,enter} API is deprecated and a narrower critical section,guarding just idle_id manipulation, is better anyway.
Fixes: #2279 (closed)