g_main_context_wait: add a critical to detect use
authorRyan Lortie <desrt@desrt.ca>
Fri, 21 Feb 2014 21:25:09 +0000 (16:25 -0500)
committerRyan Lortie <desrt@desrt.ca>
Fri, 21 Feb 2014 21:42:21 +0000 (16:42 -0500)
commitc0aa150cb0d362224480240b2db8ff214717bdd1
tree0fa9f280990b5814a0d2964ea362add63085ade9
parent5103c5d643f7e7de7983619204a25c3c774478e8
g_main_context_wait: add a critical to detect use

Due to its unusual interface, I suspect that nobody is using
g_main_context_wait() but there is no way to know.

Add a critical notice that will be displayed if anyone calls the
function, asking them to file a bug with us.

We'll let this go out with the 2.40 release and see if we get a response
before we proceed with actually breaking the functionality.
glib/gmain.c