Skip to content

MixStream: g_mutex_free is deprecated #1

@Linkid

Description

@Linkid

This warning was raised when compiling the MixStream extension:

fretwork/mixstream/MixStream.c: In function ‘mix_stream_destroy’:
fretwork/mixstream/MixStream.c:135:3: warning: ‘g_mutex_free’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:275) [-Wdeprecated-declarations]

As we're using glib 2.34.3+, g_mutex_free can be removed or replaced by g_mutex_clear.
Eventually, we can add a condition on the version of glib.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions