[epiphany/wip/ephy-sync: 69/126] Use g_str_equal() rather than g_strcmp0()



commit 73fdc97e677e9ee153e9a5a48b69c8f1eb250954
Author: Gabriel Ivascu <ivascu gabriel59 gmail com>
Date:   Sat Jul 23 11:14:22 2016 +0300

    Use g_str_equal() rather than g_strcmp0()

 src/ephy-sync-secret.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-sync-secret.c b/src/ephy-sync-secret.c
index 4fe6829..a8bf791 100644
--- a/src/ephy-sync-secret.c
+++ b/src/ephy-sync-secret.c
@@ -113,7 +113,7 @@ ephy_sync_secret_load_tokens (EphySyncService *sync_service)
     value = secret_value_get_text (secret_value);
 
     /* Sanity check */
-    if (g_strcmp0 (emailUTF8, user_email))
+    if (g_str_equal (emailUTF8, user_email) == FALSE)
       continue;
 
     ephy_sync_service_set_token (sync_service, g_strdup (value), type);


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