diff options
author | Marco Barisione <marco.barisione@collabora.co.uk> | 2013-05-10 23:58:34 +0800 |
---|---|---|
committer | Marco Barisione <marco.barisione@collabora.co.uk> | 2013-08-20 18:03:06 +0800 |
commit | 7eae2e49e62834cfff13cc2ee10b37eaff38a6fb (patch) | |
tree | dd8ce7c22177cd14324b466c2841466c23816ff8 /libempathy/empathy-tp-chat.c | |
parent | 6609b50bce338fdb3fe470f57727d30211c8d104 (diff) | |
download | gsoc2013-empathy-7eae2e49e62834cfff13cc2ee10b37eaff38a6fb.tar gsoc2013-empathy-7eae2e49e62834cfff13cc2ee10b37eaff38a6fb.tar.gz gsoc2013-empathy-7eae2e49e62834cfff13cc2ee10b37eaff38a6fb.tar.bz2 gsoc2013-empathy-7eae2e49e62834cfff13cc2ee10b37eaff38a6fb.tar.lz gsoc2013-empathy-7eae2e49e62834cfff13cc2ee10b37eaff38a6fb.tar.xz gsoc2013-empathy-7eae2e49e62834cfff13cc2ee10b37eaff38a6fb.tar.zst gsoc2013-empathy-7eae2e49e62834cfff13cc2ee10b37eaff38a6fb.zip |
tpaw-utils: move EMP_STR_EMPTY to tp-aw and rename it
https://bugzilla.gnome.org/show_bug.cgi?id=699492
Diffstat (limited to 'libempathy/empathy-tp-chat.c')
-rw-r--r-- | libempathy/empathy-tp-chat.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c index 4711affcb..e0fd4c2cb 100644 --- a/libempathy/empathy-tp-chat.c +++ b/libempathy/empathy-tp-chat.c @@ -21,6 +21,8 @@ #include "config.h" #include "empathy-tp-chat.h" +#include <tp-account-widgets/tpaw-utils.h> + #include "empathy-request-util.h" #include "empathy-utils.h" @@ -1115,7 +1117,7 @@ empathy_tp_chat_get_id (EmpathyTpChat *self) g_return_val_if_fail (EMPATHY_IS_TP_CHAT (self), NULL); id = tp_channel_get_identifier ((TpChannel *) self); - if (!EMP_STR_EMPTY (id)) + if (!TPAW_STR_EMPTY (id)) return id; else if (self->priv->remote_contact) return empathy_contact_get_id (self->priv->remote_contact); |