inputstream: Make the GSource hold a weak ref on the agent
authorOlivier Crête <olivier.crete@collabora.com>
Fri, 24 Jan 2014 05:53:56 +0000 (00:53 -0500)
committerOlivier Crête <olivier.crete@collabora.com>
Fri, 31 Jan 2014 06:49:00 +0000 (01:49 -0500)
commitebb787e2b1ac4b83813bc2085fef00f221ea89ff
tree340b865a081979bc2106c1e46207a0897d5c5946
parentb5f79391b7ed90e99bb38d667b06b87cfd623f74
inputstream: Make the GSource hold a weak ref on the agent

This also means that it can't have the component ref. Also make the
cancellable a child source of this GPollableInputStream one
agent/component.c
agent/component.h
agent/inputstream.c