aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-04-20 02:46:57 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-04-20 02:46:57 +0800
commitf20e456a6fb0264ea2e327b96693c727647bdfc8 (patch)
tree96414b07a7fbed4b895574501e1a1e7645dc8769
parentb2f1aadc4e086e58c7e7805376b31877854afed0 (diff)
downloadgsoc2013-empathy-f20e456a6fb0264ea2e327b96693c727647bdfc8.tar
gsoc2013-empathy-f20e456a6fb0264ea2e327b96693c727647bdfc8.tar.gz
gsoc2013-empathy-f20e456a6fb0264ea2e327b96693c727647bdfc8.tar.bz2
gsoc2013-empathy-f20e456a6fb0264ea2e327b96693c727647bdfc8.tar.lz
gsoc2013-empathy-f20e456a6fb0264ea2e327b96693c727647bdfc8.tar.xz
gsoc2013-empathy-f20e456a6fb0264ea2e327b96693c727647bdfc8.tar.zst
gsoc2013-empathy-f20e456a6fb0264ea2e327b96693c727647bdfc8.zip
Make sure to not set a NULL title on the window.
svn path=/trunk/; revision=969
-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 b841506ba..dc7f2f102 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -273,12 +273,10 @@ chat_window_get_chat_name (EmpathyChat *chat)
remote_contact = empathy_chat_get_remote_contact (chat);
if (remote_contact) {
name = empathy_contact_get_name (remote_contact);
- } else {
- name = _("Conversation");
}
}
- return name;
+ return name ? name : _("Conversation");
}
static void