summaryrefslogtreecommitdiff
path: root/farstream/fs-participant.c
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2012-09-25 15:08:26 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2012-09-25 16:23:53 -0400
commitdfcbd4cbcf111d6cfe6c174c4fdb5a9235062cf9 (patch)
tree168f70df15e0f7cf7d5d51ebbae320c8be5d9f1a /farstream/fs-participant.c
parent224a49a5c784efbe6bc4b9e8c7632332efcf7456 (diff)
downloadfarstream-dfcbd4cbcf111d6cfe6c174c4fdb5a9235062cf9.tar.gz
Port to GLib 2.32
Diffstat (limited to 'farstream/fs-participant.c')
-rw-r--r--farstream/fs-participant.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/farstream/fs-participant.c b/farstream/fs-participant.c
index 125e9ba4..755ce9aa 100644
--- a/farstream/fs-participant.c
+++ b/farstream/fs-participant.c
@@ -85,14 +85,14 @@ static void
fs_participant_init (FsParticipant *self)
{
//self->priv = FS_PARTICIPANT_GET_PRIVATE (self);
- self->mutex = g_mutex_new ();
+ g_mutex_init (&self->mutex);
}
static void
fs_participant_finalize (GObject *object)
{
FsParticipant *self = FS_PARTICIPANT (object);
- g_mutex_free (self->mutex);
+ g_mutex_clear (&self->mutex);
G_OBJECT_CLASS (fs_participant_parent_class)->finalize (object);
}