From 633dd8bd9ec961c04f73335984d7ea30cc0b5684 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 11 Mar 2008 12:23:00 +0000 Subject: Continue property stuff svn path=/trunk/; revision=768 --- libempathy-gtk/empathy-group-chat.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'libempathy-gtk') diff --git a/libempathy-gtk/empathy-group-chat.c b/libempathy-gtk/empathy-group-chat.c index 16fb841be..008dee81b 100644 --- a/libempathy-gtk/empathy-group-chat.c +++ b/libempathy-gtk/empathy-group-chat.c @@ -390,10 +390,15 @@ group_chat_topic_response_cb (GtkWidget *dialog, if (!G_STR_EMPTY (topic)) { EmpathyGroupChatPriv *priv; + GValue value = {0, }; priv = GET_PRIV (chat); - empathy_tp_chatroom_set_topic (priv->tp_chat, topic); + g_value_init (&value, G_TYPE_STRING); + g_value_set_string (&value, topic); + empathy_tp_chat_set_property (EMPATHY_TP_CHAT (priv->tp_chat), + &value); + g_value_unset (&value); } } -- cgit v1.2.3