]> git.0d.be Git - empathy.git/commitdiff
Changed some G_STR_EQUALs to EMP_STR_EQUAL.
authorJonny Lamb <jonny.lamb@collabora.co.uk>
Fri, 6 Mar 2009 11:52:11 +0000 (11:52 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Fri, 6 Mar 2009 11:52:11 +0000 (11:52 +0000)
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=2594

libempathy/empathy-log-store-empathy.c

index e9cf887b20ceb99d74b0d34c502e75bcab6a2a82..2930aceb5af6bb55783bfeae39d16686dfc2fb55 100644 (file)
@@ -203,7 +203,7 @@ log_store_empathy_add_message (EmpathyLogStore *self,
   body_str = empathy_message_get_body (message);
   msg_type = empathy_message_get_tptype (message);
 
-  if (G_STR_EMPTY (body_str))
+  if (EMP_STR_EMPTY (body_str))
     return FALSE;
 
   filename = log_store_empathy_get_filename (self, account, chat_id, chatroom);
@@ -475,7 +475,7 @@ log_store_empathy_get_messages_for_file (EmpathyLogStore *self,
 
       sender = empathy_contact_new_full (account, sender_id, sender_name);
       empathy_contact_set_is_user (sender, is_user);
-      if (!G_STR_EMPTY (sender_avatar_token))
+      if (!EMP_STR_EMPTY (sender_avatar_token))
         empathy_contact_load_avatar_cache (sender,
             sender_avatar_token);
 
@@ -556,7 +556,7 @@ log_store_empathy_search_new (EmpathyLogStore *self,
   gchar *text_casefold;
 
   g_return_val_if_fail (EMPATHY_IS_LOG_STORE (self), NULL);
-  g_return_val_if_fail (!G_STR_EMPTY (text), NULL);
+  g_return_val_if_fail (!EMP_STR_EMPTY (text), NULL);
 
   text_casefold = g_utf8_casefold (text, -1);