[Nice] Fixing libnice compile with GLib 2.31

Rohan Garg rohan16garg at gmail.com
Fri Jan 13 09:12:09 PST 2012


Gah, So should I just wrap it around ifdef's for now?

Best
Rohan Garg


On Fri, Jan 13, 2012 at 10:35 PM, Olivier Crête
<olivier.crete at collabora.com> wrote:
> Hi,
>
> Problem is that GRecMutex is only available in 2.31.... The GLib people
> are idiots..
>
> On Fri, 2012-01-13 at 22:09 +0530, Rohan Garg wrote:
>> Hi
>> 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
>> static.
>>
>> Best
>> Rohan Garg
>> _______________________________________________ Nice mailing list Nice at lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nice
>
> --
> Olivier Crête
> olivier.crete at collabora.com


More information about the Nice mailing list