examples: Remove unnecessary dynamic type casts
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Mon, 30 Jun 2014 19:09:30 +0000 (20:09 +0100)
committerOlivier Crête <olivier.crete@collabora.com>
Mon, 7 Jul 2014 19:47:02 +0000 (15:47 -0400)
commitf80631064fc7c26553d8b6f7a59b602ca4feb648
tree610c34d3b229c291310f91f03211eac44f4769aa
parent93e18790ca6f9e0120502b43206e227bebe37dc3
examples: Remove unnecessary dynamic type casts

We know the agent is a GObject — there is no need to check it at
runtime. This also improves Tartan’s static analysis of signal
connections.
examples/sdp-example.c
examples/simple-example.c
examples/threaded-example.c