diff options
author | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2008-04-20 02:46:57 +0800 |
---|---|---|
committer | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2008-04-20 02:46:57 +0800 |
commit | 23a927d419836010850ab4197d3741cbc01dea95 (patch) | |
tree | 96414b07a7fbed4b895574501e1a1e7645dc8769 /src/empathy-chat-window.c | |
parent | 50235a03b2055094cae96938debbe5380e9bb6ec (diff) | |
download | gsoc2013-empathy-23a927d419836010850ab4197d3741cbc01dea95.tar gsoc2013-empathy-23a927d419836010850ab4197d3741cbc01dea95.tar.gz gsoc2013-empathy-23a927d419836010850ab4197d3741cbc01dea95.tar.bz2 gsoc2013-empathy-23a927d419836010850ab4197d3741cbc01dea95.tar.lz gsoc2013-empathy-23a927d419836010850ab4197d3741cbc01dea95.tar.xz gsoc2013-empathy-23a927d419836010850ab4197d3741cbc01dea95.tar.zst gsoc2013-empathy-23a927d419836010850ab4197d3741cbc01dea95.zip |
Make sure to not set a NULL title on the window.
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@969 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'src/empathy-chat-window.c')
-rw-r--r-- | src/empathy-chat-window.c | 4 |
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 |