[epiphany] history-service: Also return the thumbnail time by ephy_history_service_query_urls



commit 85303f08a4f623ce5e4eb26050eb295742cce949
Author: Carlos Garcia Campos <cgarcia igalia com>
Date:   Fri Feb 28 18:27:34 2014 +0100

    history-service: Also return the thumbnail time by ephy_history_service_query_urls
    
    https://bugzilla.gnome.org/show_bug.cgi?id=725393

 lib/history/ephy-history-service-urls-table.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/lib/history/ephy-history-service-urls-table.c b/lib/history/ephy-history-service-urls-table.c
index 881dbe6..f9d577b 100644
--- a/lib/history/ephy-history-service-urls-table.c
+++ b/lib/history/ephy-history-service-urls-table.c
@@ -218,7 +218,8 @@ create_url_from_statement (EphySQLiteStatement *statement)
   url->id = ephy_sqlite_statement_get_column_as_int (statement, 0);
   url->host = ephy_history_host_new (NULL, NULL, 0, 1.0);
   url->hidden = ephy_sqlite_statement_get_column_as_int (statement, 6);
-  url->host->id = ephy_sqlite_statement_get_column_as_int (statement, 7);
+  url->thumbnail_time = ephy_sqlite_statement_get_column_as_int (statement, 7);
+  url->host->id = ephy_sqlite_statement_get_column_as_int (statement, 8);
 
   return url;
 }
@@ -241,6 +242,7 @@ ephy_history_service_find_url_rows (EphyHistoryService *self, EphyHistoryQuery *
       "urls.typed_count, "
       "urls.last_visit_time, "
       "urls.hidden_from_overview, "
+      "urls.thumbnail_update_time, "
       "urls.host "
     "FROM "
       "urls ";


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