[epiphany] history-service: remove unnecessary type cast



commit aaa40d7f56dd6ee56d33e016c5b4111a997a4d52
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Tue Mar 27 18:01:46 2012 +0300

    history-service: remove unnecessary type cast
    
    https://bugzilla.gnome.org/show_bug.cgi?id=672926

 lib/history/ephy-history-service.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/history/ephy-history-service.c b/lib/history/ephy-history-service.c
index 6357588..7d5a49e 100644
--- a/lib/history/ephy-history-service.c
+++ b/lib/history/ephy-history-service.c
@@ -357,7 +357,7 @@ ephy_history_service_execute_quit (EphyHistoryService *self, gpointer data, gpoi
 static gpointer
 run_history_service_thread (EphyHistoryService *self)
 {
-  EphyHistoryServicePrivate *priv = EPHY_HISTORY_SERVICE (self)->priv;
+  EphyHistoryServicePrivate *priv = self->priv;
   EphyHistoryServiceMessage *message;
 
   g_assert (priv->history_thread == g_thread_self ());



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