[epiphany/wip/ephy-sync] Use g_hash_table_destroy rather than g_hash_table_unref



commit e9bed9abbffad79cd36673cb3d68cde34c8f012e
Author: Gabriel Ivascu <ivascu gabriel59 gmail com>
Date:   Sun Jun 26 22:51:30 2016 +0300

    Use g_hash_table_destroy rather than g_hash_table_unref

 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 32fc039..04910e1 100644
--- a/src/ephy-sync-service.c
+++ b/src/ephy-sync-service.c
@@ -143,7 +143,7 @@ ephy_sync_service_finalize (GObject *object)
   EphySyncService *self = EPHY_SYNC_SERVICE (object);
 
   g_free (self->user_email);
-  g_hash_table_unref (self->tokens);
+  g_hash_table_destroy (self->tokens);
   g_clear_object (&self->soup_session);
 
   G_OBJECT_CLASS (ephy_sync_service_parent_class)->finalize (object);


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