diff options
Diffstat (limited to 'libempathy-gtk/empathy-group-chat.c')
-rw-r--r-- | libempathy-gtk/empathy-group-chat.c | 7 |
1 files changed, 6 insertions, 1 deletions
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); } } |