message: fix annotation of parse_device_{added,removed}
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 13 Jul 2016 13:43:21 +0000 (15:43 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 15 Jul 2016 11:56:52 +0000 (12:56 +0100)
commit514beb7d60e90f23c63a02dd2cae1af619d204b0
treea117b756d7b2240ed6d1ee7bf0ff408bc6aa442e
parent2a0bba69e1d1966afda8a1265a74bf072fee67df
message: fix annotation of parse_device_{added,removed}

gst_structure_id_get() returns a new reference so the returned device is
actually (transfer full).

The code using this API was already correct but the code example in
comments was not.

https://bugzilla.gnome.org/show_bug.cgi?id=768776
gst/gstdevicemonitor.c
gst/gstmessage.c