diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2009-07-24 19:18:06 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2009-07-29 17:21:42 +0800 |
commit | 4da463c098708dd0b52a82195bad5ac537a9197b (patch) | |
tree | 5c1cdf61a14c5e1428ecb718fa9863744c3bd486 | |
parent | 0c107f3a4fcd0f655deeff94d2e168361cda7a37 (diff) | |
download | gsoc2013-empathy-4da463c098708dd0b52a82195bad5ac537a9197b.tar gsoc2013-empathy-4da463c098708dd0b52a82195bad5ac537a9197b.tar.gz gsoc2013-empathy-4da463c098708dd0b52a82195bad5ac537a9197b.tar.bz2 gsoc2013-empathy-4da463c098708dd0b52a82195bad5ac537a9197b.tar.lz gsoc2013-empathy-4da463c098708dd0b52a82195bad5ac537a9197b.tar.xz gsoc2013-empathy-4da463c098708dd0b52a82195bad5ac537a9197b.tar.zst gsoc2013-empathy-4da463c098708dd0b52a82195bad5ac537a9197b.zip |
Little coding style cleanup
-rw-r--r-- | src/empathy-chat-window.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c index 8dcb68d2f..3e77553b3 100644 --- a/src/empathy-chat-window.c +++ b/src/empathy-chat-window.c @@ -1000,12 +1000,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); |