From 5e4109c79e8892dd29690c35ac21cd0d3921ced7 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 25 May 2007 13:53:52 +0000 Subject: Fix refcounting of GossipGroupChat. Add debug message when alias request 2007-05-25 Xavier Claessens * libempathy-gtk/gossip-group-chat.c: Fix refcounting of GossipGroupChat. * libempathy/empathy-tp-contact-list.c: Add debug message when alias request fails. * data/22x22/empathy-group-message.png: * data/22x22/Makefile.am: Add group message icon. svn path=/trunk/; revision=94 --- libempathy-gtk/gossip-group-chat.c | 2 +- libempathy-gtk/gossip-private-chat.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'libempathy-gtk') 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 -- cgit v1.2.3