aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/gossip-group-chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/gossip-group-chat.c')
-rw-r--r--libempathy-gtk/gossip-group-chat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/gossip-group-chat.c b/libempathy-gtk/gossip-group-chat.c
index f16bee0de..3dc4022bf 100644
--- a/libempathy-gtk/gossip-group-chat.c
+++ b/libempathy-gtk/gossip-group-chat.c
@@ -323,7 +323,7 @@ group_chat_create_ui (GossipGroupChat *chat)
g_object_unref (glade);
- g_object_set_data (G_OBJECT (priv->widget), "chat", chat);
+ g_object_set_data (G_OBJECT (priv->widget), "chat", g_object_ref (chat));
/* Add room GtkTextView. */
gtk_container_add (GTK_CONTAINER (priv->scrolled_window_chat),