[Nice] Fixing libnice compile with GLib 2.31

Rohan Garg rohan16garg at gmail.com
Fri Jan 13 08:39:54 PST 2012

Since GLib 2.31 and above, GStaticRecMutex has been deperecated thus causing 
builds to fail on Ubuntu Precise which now ships with the latest GLib.

The attached patch fixes the issue.

Note: No initialization of GRecMutex is required as per docs because it is 

Rohan Garg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build_against_glib_2_dot_31.diff
Type: text/x-patch
Size: 738 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/nice/attachments/20120113/279fd350/attachment.bin>

More information about the Nice mailing list