diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-01-23 21:52:40 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-01-23 21:52:40 +0800 |
commit | 025c9ec4d13772b1e233a472ea90cc9ed0b27611 (patch) | |
tree | 7d6add0c574dd8aa0cab3759716bf903908d02da /libempathy/empathy-tp-contact-factory.c | |
parent | 3db2a8f24d7fe902805b64377170f6ce9280a9e8 (diff) | |
download | gsoc2013-empathy-025c9ec4d13772b1e233a472ea90cc9ed0b27611.tar gsoc2013-empathy-025c9ec4d13772b1e233a472ea90cc9ed0b27611.tar.gz gsoc2013-empathy-025c9ec4d13772b1e233a472ea90cc9ed0b27611.tar.bz2 gsoc2013-empathy-025c9ec4d13772b1e233a472ea90cc9ed0b27611.tar.lz gsoc2013-empathy-025c9ec4d13772b1e233a472ea90cc9ed0b27611.tar.xz gsoc2013-empathy-025c9ec4d13772b1e233a472ea90cc9ed0b27611.tar.zst gsoc2013-empathy-025c9ec4d13772b1e233a472ea90cc9ed0b27611.zip |
Renamed G_STR_EMPTY to EMP_STR_EMPTY.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=2249
Diffstat (limited to 'libempathy/empathy-tp-contact-factory.c')
-rw-r--r-- | libempathy/empathy-tp-contact-factory.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libempathy/empathy-tp-contact-factory.c b/libempathy/empathy-tp-contact-factory.c index c407ea49e..9fe143e43 100644 --- a/libempathy/empathy-tp-contact-factory.c +++ b/libempathy/empathy-tp-contact-factory.c @@ -130,7 +130,7 @@ tp_contact_factory_presences_table_foreach (const gchar *state_str, message_str = g_value_get_string (message); } - if (!G_STR_EMPTY (message_str)) { + if (!EMP_STR_EMPTY (message_str)) { empathy_contact_set_presence_message (contact, message_str); } else { empathy_contact_set_presence_message (contact, NULL); @@ -384,7 +384,7 @@ tp_contact_factory_avatar_maybe_update (EmpathyTpContactFactory *tp_factory, } /* Check if we have an avatar */ - if (G_STR_EMPTY (token)) { + if (EMP_STR_EMPTY (token)) { empathy_contact_set_avatar (contact, NULL); return TRUE; } @@ -783,12 +783,12 @@ tp_contact_factory_ready (EmpathyTpContactFactory *tp_factory) handle = empathy_contact_get_handle (contact); id = empathy_contact_get_id (contact); if (handle == 0) { - g_assert (!G_STR_EMPTY (id)); + g_assert (!EMP_STR_EMPTY (id)); g_array_append_val (handle_needed, id); handle_needed_contacts = g_list_prepend (handle_needed_contacts, g_object_ref (contact)); } - if (G_STR_EMPTY (id)) { + if (EMP_STR_EMPTY (id)) { g_array_append_val (id_needed, handle); id_needed_contacts = g_list_prepend (id_needed_contacts, g_object_ref (contact)); |