diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-12-08 00:19:30 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-12-08 01:34:54 +0800 |
commit | 3f3d218978d49b77f18464977f3b92c5d644bc1b (patch) | |
tree | 3ccb7beba51e09c19eb3118809f4a5ce1dd48808 | |
parent | 206b3a79c8b5d941d20a65f258a5beb0b7b32270 (diff) | |
download | gsoc2013-empathy-3f3d218978d49b77f18464977f3b92c5d644bc1b.tar gsoc2013-empathy-3f3d218978d49b77f18464977f3b92c5d644bc1b.tar.gz gsoc2013-empathy-3f3d218978d49b77f18464977f3b92c5d644bc1b.tar.bz2 gsoc2013-empathy-3f3d218978d49b77f18464977f3b92c5d644bc1b.tar.lz gsoc2013-empathy-3f3d218978d49b77f18464977f3b92c5d644bc1b.tar.xz gsoc2013-empathy-3f3d218978d49b77f18464977f3b92c5d644bc1b.tar.zst gsoc2013-empathy-3f3d218978d49b77f18464977f3b92c5d644bc1b.zip |
chat-window: ref the contact stored as a data in the chat
-rw-r--r-- | src/empathy-chat-window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c index 44bbb4e5d..658e59426 100644 --- a/src/empathy-chat-window.c +++ b/src/empathy-chat-window.c @@ -697,8 +697,8 @@ chat_window_chat_notify_cb (EmpathyChat *chat) chat); } - g_object_set_data (G_OBJECT (chat), "chat-window-remote-contact", - remote_contact); + g_object_set_data_full (G_OBJECT (chat), "chat-window-remote-contact", + g_object_ref (remote_contact), (GDestroyNotify) g_object_unref); } chat_window_update_chat_tab (chat); |