diff options
Diffstat (limited to 'libempathy/empathy-dispatcher.c')
-rw-r--r-- | libempathy/empathy-dispatcher.c | 4 |
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; } |