]> git.0d.be Git - empathy.git/blobdiff - src/empathy-chat-window.c
Merge branch 'master' into mc5
[empathy.git] / src / empathy-chat-window.c
index 47ef37c42871b2d81e886af93793f42861861d63..822f228268820fa7d3be7ced6500fc4ff1cb77c9 100644 (file)
@@ -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);