gmain: improve g_source_set_name thread safety
authorRyan Lortie <desrt@desrt.ca>
Tue, 16 Sep 2014 23:48:06 +0000 (19:48 -0400)
committerRyan Lortie <desrt@desrt.ca>
Fri, 19 Sep 2014 17:39:00 +0000 (13:39 -0400)
commitdceff8fc2c354b994793d8792455bee7ed195169
treee056cd86d981307b1ba4ba9788e93e8c5adc411d
parent1cbdbef77209fe82239bd10f062425491cf256ae
gmain: improve g_source_set_name thread safety

Step up thread safety on g_source_set_name() to the same standard as all
other GSource functions: after we are attached to a main context, this
function should be threadsafe.

https://bugzilla.gnome.org/show_bug.cgi?id=736683
glib/gmain.c