diff options
author | Claudio Saavedra <csaavedra@igalia.com> | 2013-08-22 16:45:19 +0800 |
---|---|---|
committer | Claudio Saavedra <csaavedra@igalia.com> | 2013-08-22 18:23:29 +0800 |
commit | 328b7139da58ec115e6ef3295fa417eded4e9dc0 (patch) | |
tree | 07f378c10759f92455d61cf1f395757b7bae30b5 /lib/widgets/ephy-overview-store.c | |
parent | e5d3e6bc678fdd588bafae9fa41bfb88e8e1d8d3 (diff) | |
download | gsoc2013-epiphany-328b7139da58ec115e6ef3295fa417eded4e9dc0.tar.gz gsoc2013-epiphany-328b7139da58ec115e6ef3295fa417eded4e9dc0.tar.zst gsoc2013-epiphany-328b7139da58ec115e6ef3295fa417eded4e9dc0.zip |
overview: add favicon to page thumbnails
Diffstat (limited to 'lib/widgets/ephy-overview-store.c')
-rw-r--r-- | lib/widgets/ephy-overview-store.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/widgets/ephy-overview-store.c b/lib/widgets/ephy-overview-store.c index 074ec8bf1..b63a17685 100644 --- a/lib/widgets/ephy-overview-store.c +++ b/lib/widgets/ephy-overview-store.c @@ -248,7 +248,8 @@ on_snapshot_saved_cb (EphySnapshotService *service, void ephy_overview_store_set_snapshot (EphyOverviewStore *store, GtkTreeIter *iter, - cairo_surface_t *snapshot) + cairo_surface_t *snapshot, + cairo_surface_t *favicon) { GdkPixbuf *pixbuf; char *url; @@ -257,7 +258,7 @@ ephy_overview_store_set_snapshot (EphyOverviewStore *store, int mtime; mtime = time (NULL); - pixbuf = ephy_snapshot_service_crop_snapshot (snapshot); + pixbuf = ephy_snapshot_service_prepare_snapshot (snapshot, favicon); ephy_overview_store_set_snapshot_internal (store, iter, pixbuf, mtime); gtk_tree_model_get (GTK_TREE_MODEL (store), iter, EPHY_OVERVIEW_STORE_URI, &url, |