diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-09-28 22:08:27 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-09-29 17:00:51 +0800 |
commit | 0c55599ad0a3210c60d37938b27225c607fc53fe (patch) | |
tree | 6c89b746946bc43320154693036f870aed63d2c6 /libempathy-gtk | |
parent | eb5008d66b2f55dd9c4f36d69a5a80cc48390f4e (diff) | |
download | gsoc2013-empathy-0c55599ad0a3210c60d37938b27225c607fc53fe.tar gsoc2013-empathy-0c55599ad0a3210c60d37938b27225c607fc53fe.tar.gz gsoc2013-empathy-0c55599ad0a3210c60d37938b27225c607fc53fe.tar.bz2 gsoc2013-empathy-0c55599ad0a3210c60d37938b27225c607fc53fe.tar.lz gsoc2013-empathy-0c55599ad0a3210c60d37938b27225c607fc53fe.tar.xz gsoc2013-empathy-0c55599ad0a3210c60d37938b27225c607fc53fe.tar.zst gsoc2013-empathy-0c55599ad0a3210c60d37938b27225c607fc53fe.zip |
field_value_is_empty: if the first element is not NULL field is not empty
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-contact-widget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c index 8734210c8..e80c964c1 100644 --- a/libempathy-gtk/empathy-contact-widget.c +++ b/libempathy-gtk/empathy-contact-widget.c @@ -153,7 +153,7 @@ field_value_is_empty (TpContactInfoField *field) if (field->field_value == NULL) return TRUE; - return EMP_STR_EMPTY (field->field_value[0]); + return field->field_value[0] == NULL; } static void |