aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-dispatcher.c
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-01-10 00:15:27 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-10 00:15:27 +0800
commiteba71b838f543c7dd9390e74911526cf3d48fa26 (patch)
tree45def98b25cf84c2defd71c79bdb6c00d8137cb5 /libempathy/empathy-dispatcher.c
parent0e114008b2603eb4dcceb180d5da896eb19be97d (diff)
downloadgsoc2013-empathy-eba71b838f543c7dd9390e74911526cf3d48fa26.tar
gsoc2013-empathy-eba71b838f543c7dd9390e74911526cf3d48fa26.tar.gz
gsoc2013-empathy-eba71b838f543c7dd9390e74911526cf3d48fa26.tar.bz2
gsoc2013-empathy-eba71b838f543c7dd9390e74911526cf3d48fa26.tar.lz
gsoc2013-empathy-eba71b838f543c7dd9390e74911526cf3d48fa26.tar.xz
gsoc2013-empathy-eba71b838f543c7dd9390e74911526cf3d48fa26.tar.zst
gsoc2013-empathy-eba71b838f543c7dd9390e74911526cf3d48fa26.zip
Make the dispatch operation _get_ functions not return a ref
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2188
Diffstat (limited to 'libempathy/empathy-dispatcher.c')
-rw-r--r--libempathy/empathy-dispatcher.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c
index 0d67336c7..bde8b6a1a 100644
--- a/libempathy/empathy-dispatcher.c
+++ b/libempathy/empathy-dispatcher.c
@@ -118,8 +118,8 @@ static DispatchData *
new_dispatch_data (TpChannel *channel, GObject *channel_wrapper)
{
DispatchData *d = g_slice_new0 (DispatchData);
- d->channel = channel;
- d->channel_wrapper = channel_wrapper;
+ d->channel = g_object_ref (channel);
+ d->channel_wrapper = g_object_ref (channel_wrapper);
return d;
}