diff options
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/gossip-group-chat.c | 2 | ||||
-rw-r--r-- | libempathy-gtk/gossip-private-chat.c | 1 |
2 files changed, 1 insertions, 2 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), diff --git a/libempathy-gtk/gossip-private-chat.c b/libempathy-gtk/gossip-private-chat.c index fb7198ff0..12e83dccc 100644 --- a/libempathy-gtk/gossip-private-chat.c +++ b/libempathy-gtk/gossip-private-chat.c @@ -106,7 +106,6 @@ gossip_private_chat_init (GossipPrivateChat *chat) priv->is_online = FALSE; private_chat_create_ui (chat); - } static void |