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-gtk/empathy-cell-renderer-text.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-gtk/empathy-cell-renderer-text.c')
-rw-r--r-- | libempathy-gtk/empathy-cell-renderer-text.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-cell-renderer-text.c b/libempathy-gtk/empathy-cell-renderer-text.c index 44bbd7eab..8b488f192 100644 --- a/libempathy-gtk/empathy-cell-renderer-text.c +++ b/libempathy-gtk/empathy-cell-renderer-text.c @@ -24,6 +24,8 @@ #include "config.h" #include "empathy-cell-renderer-text.h" +#include <tp-account-widgets/tpaw-utils.h> + #include "empathy-utils.h" #define GET_PRIV(obj) EMPATHY_GET_PRIV (obj, EmpathyCellRendererText) @@ -349,7 +351,7 @@ cell_renderer_text_update_text (EmpathyCellRendererText *cell, } if (priv->compact) { - if (EMP_STR_EMPTY (priv->status)) { + if (TPAW_STR_EMPTY (priv->status)) { str = g_strdup (priv->name); } else { str = g_strdup_printf ("%s %s", priv->name, priv->status); @@ -358,7 +360,7 @@ cell_renderer_text_update_text (EmpathyCellRendererText *cell, const gchar *status = priv->status; gboolean on_a_phone = FALSE; - if (EMP_STR_EMPTY (priv->status)) { + if (TPAW_STR_EMPTY (priv->status)) { status = empathy_presence_get_default_message (priv->presence_type); } |