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



commit c77ee1cede6c93006fdd4dc1080504e99f63ec18
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]