diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2010-04-01 14:19:16 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2010-04-01 14:19:16 +0100 |
commit | 6dad56ec5e502ce68cbf71c6849896881a26f3b5 (patch) | |
tree | f5d293618d6d84b06522c24918b9a9f52e1ca550 /telepathy-glib/account.c | |
parent | a042c778d08a84c794c7d38c29e5f7919a1bad80 (diff) | |
download | telepathy-glib-6dad56ec5e502ce68cbf71c6849896881a26f3b5.tar.gz |
Use tp_str_empty whenever it's equivalent to the current code
Diffstat (limited to 'telepathy-glib/account.c')
-rw-r--r-- | telepathy-glib/account.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telepathy-glib/account.c b/telepathy-glib/account.c index b673059ab..d22086b9e 100644 --- a/telepathy-glib/account.c +++ b/telepathy-glib/account.c @@ -531,7 +531,7 @@ _tp_account_update (TpAccount *account, icon_name = tp_asv_get_string (properties, "Icon"); - if (icon_name == NULL || icon_name[0] == '\0') + if (tp_str_empty (icon_name)) priv->icon_name = g_strdup_printf ("im-%s", priv->proto_name); else priv->icon_name = g_strdup (icon_name); |