aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-dispatcher.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2009-09-01 21:51:15 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-09-01 22:49:39 +0800
commit3e83992d52dcde84723dc31129546d4e78877f15 (patch)
treeda0df02d9594b66f1b0690413efc786c299c0a5e /libempathy/empathy-dispatcher.c
parent182f1d1d62275355fa248fcdb9ea9b9a09a60e08 (diff)
downloadgsoc2013-empathy-3e83992d52dcde84723dc31129546d4e78877f15.tar
gsoc2013-empathy-3e83992d52dcde84723dc31129546d4e78877f15.tar.gz
gsoc2013-empathy-3e83992d52dcde84723dc31129546d4e78877f15.tar.bz2
gsoc2013-empathy-3e83992d52dcde84723dc31129546d4e78877f15.tar.lz
gsoc2013-empathy-3e83992d52dcde84723dc31129546d4e78877f15.tar.xz
gsoc2013-empathy-3e83992d52dcde84723dc31129546d4e78877f15.tar.zst
gsoc2013-empathy-3e83992d52dcde84723dc31129546d4e78877f15.zip
Be sure that FindChannelRequest has a ref to the Dispatcher
It has to own a reference, as it will unref when free-ing the struct.
Diffstat (limited to 'libempathy/empathy-dispatcher.c')
-rw-r--r--libempathy/empathy-dispatcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c
index fca24daeb..c35b31eb8 100644
--- a/libempathy/empathy-dispatcher.c
+++ b/libempathy/empathy-dispatcher.c
@@ -1826,7 +1826,7 @@ empathy_dispatcher_find_requestable_channel_classes_async
/* append another request for this connection */
request = g_slice_new0 (FindChannelRequest);
- request->dispatcher = dispatcher;
+ request->dispatcher = g_object_ref (dispatcher);
request->channel_type = g_strdup (channel_type);
request->handle_type = handle_type;
request->connection = connection;