empathy r2594 - trunk/libempathy



Author: xclaesse
Date: Fri Mar  6 11:52:11 2009
New Revision: 2594
URL: http://svn.gnome.org/viewvc/empathy?rev=2594&view=rev

Log:
Changed some G_STR_EQUALs to EMP_STR_EQUAL.

Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>

Modified:
   trunk/libempathy/empathy-log-store-empathy.c

Modified: trunk/libempathy/empathy-log-store-empathy.c
==============================================================================
--- trunk/libempathy/empathy-log-store-empathy.c	(original)
+++ trunk/libempathy/empathy-log-store-empathy.c	Fri Mar  6 11:52:11 2009
@@ -203,7 +203,7 @@
   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 @@
 
       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 @@
   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);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]