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-groups-widget.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-groups-widget.c')
-rw-r--r-- | libempathy-gtk/empathy-groups-widget.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-groups-widget.c b/libempathy-gtk/empathy-groups-widget.c index d1a6febfa..b7f4b256a 100644 --- a/libempathy-gtk/empathy-groups-widget.c +++ b/libempathy-gtk/empathy-groups-widget.c @@ -23,6 +23,7 @@ #include "empathy-groups-widget.h" #include <glib/gi18n-lib.h> +#include <tp-account-widgets/tpaw-utils.h> #include "empathy-utils.h" #include "empathy-connection-aggregator.h" @@ -117,7 +118,7 @@ model_find_name (EmpathyGroupsWidget *self, EmpathyGroupsWidgetPriv *priv = GET_PRIV (self); FindNameData data; - if (EMP_STR_EMPTY (name)) + if (TPAW_STR_EMPTY (name)) return FALSE; data.widget = self; @@ -192,7 +193,7 @@ add_group_entry_changed_cb (GtkEditable *editable, else { gtk_widget_set_sensitive (GTK_WIDGET (priv->add_group_button), - !EMP_STR_EMPTY (group)); + !TPAW_STR_EMPTY (group)); } } |