aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-chat-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy-chat-window.c')
-rw-r--r--src/empathy-chat-window.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 130638a1a..09f945fb7 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -636,9 +636,7 @@ chat_window_contacts_toggled_cb (GtkToggleAction *toggle_action,
active = gtk_toggle_action_get_active (toggle_action);
- g_object_set (priv->current_chat,
- "show-contacts", active,
- NULL);
+ empathy_chat_set_show_contacts (priv->current_chat, active);
}
static const gchar *