[Xfce4-commits] <thunar:andrzejr/utf8_collate> dropped G_(UN)LIKELY

Andrzej noreply at xfce.org
Tue May 1 15:38:01 CEST 2012


Updating branch refs/heads/andrzejr/utf8_collate
         to ffc240ed53dec84a914ecba5effa340f631f02e8 (commit)
       from f4a76ee5036b2790c4ac81c128c8102ced11c745 (commit)

commit ffc240ed53dec84a914ecba5effa340f631f02e8
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Tue May 1 22:36:58 2012 +0900

    dropped G_(UN)LIKELY

 thunar/thunar-file.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c
index 91f1c50..6b3ce2f 100644
--- a/thunar/thunar-file.c
+++ b/thunar/thunar-file.c
@@ -3320,13 +3320,13 @@ thunar_file_compare_by_name (const ThunarFile *file_a,
 #endif
 
   /* check if we should ignore case */
-  if (G_LIKELY (case_sensitive == FALSE))
+  if (case_sensitive == FALSE)
     {
       result = strcmp (file_a->collate_key_fc, file_b->collate_key_fc);
     }
 
   /* if case sensitive or if ci comparison didn't find a difference */
-  if (G_UNLIKELY (case_sensitive == TRUE || result == 0))
+  if (case_sensitive == TRUE || result == 0)
     {
       result = strcmp (file_a->collate_key, file_b->collate_key);
     }


More information about the Xfce4-commits mailing list