[epiphany/wip/ephy-sync: 23/52] Use g_str_hash rather than g_direct_hash



commit c5922d6ef8b185d7b5df005b152c409a7726f6bc
Author: Gabriel Ivascu <ivascu gabriel59 gmail com>
Date:   Sun Jun 26 22:48:54 2016 +0300

    Use g_str_hash rather than g_direct_hash

 src/ephy-sync-service.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-sync-service.c b/src/ephy-sync-service.c
index b3fe702..32fc039 100644
--- a/src/ephy-sync-service.c
+++ b/src/ephy-sync-service.c
@@ -162,7 +162,7 @@ ephy_sync_service_init (EphySyncService *self)
 {
   gchar *sync_user = NULL;
 
-  self->tokens = g_hash_table_new_full (NULL, g_str_equal,
+  self->tokens = g_hash_table_new_full (g_str_hash, g_str_equal,
                                         NULL, g_free);
   self->soup_session = soup_session_new ();
 


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