aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-chat-window.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimo.cecchi@collabora.co.uk>2009-08-01 16:33:18 +0800
committerCosimo Cecchi <cosimo.cecchi@collabora.co.uk>2009-08-01 16:33:18 +0800
commit8dcbfe163b293dda9bc0481e846db3bdd4e0ea98 (patch)
treeccd09bc3f224492e9d8c360c0b903e11f8b593ab /src/empathy-chat-window.c
parent3e8f25168aadd741ecc0fe8da4d1847eece5ff83 (diff)
parentc62744a26535b8778e6053e5d7c544ca9ccc1e5f (diff)
downloadgsoc2013-empathy-8dcbfe163b293dda9bc0481e846db3bdd4e0ea98.tar
gsoc2013-empathy-8dcbfe163b293dda9bc0481e846db3bdd4e0ea98.tar.gz
gsoc2013-empathy-8dcbfe163b293dda9bc0481e846db3bdd4e0ea98.tar.bz2
gsoc2013-empathy-8dcbfe163b293dda9bc0481e846db3bdd4e0ea98.tar.lz
gsoc2013-empathy-8dcbfe163b293dda9bc0481e846db3bdd4e0ea98.tar.xz
gsoc2013-empathy-8dcbfe163b293dda9bc0481e846db3bdd4e0ea98.tar.zst
gsoc2013-empathy-8dcbfe163b293dda9bc0481e846db3bdd4e0ea98.zip
Merge branch 'master' into mc5
Diffstat (limited to 'src/empathy-chat-window.c')
-rw-r--r--src/empathy-chat-window.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 47ef37c42..822f22826 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -999,12 +999,11 @@ chat_window_set_highlight_room_tab_label (EmpathyChat *chat)
gchar *markup;
GtkWidget *widget;
- if (empathy_chat_is_room (chat) == FALSE)
+ if (!empathy_chat_is_room (chat))
return;
- markup = g_markup_printf_escaped ("<span color=\"%s\">%s</span>",
- "red",
- empathy_chat_get_name (chat));
+ markup = g_markup_printf_escaped ("<span color=\"red\">%s</span>",
+ empathy_chat_get_name (chat));
widget = g_object_get_data (G_OBJECT (chat), "chat-window-tab-label");
gtk_label_set_markup (GTK_LABEL (widget), markup);