[bijiben] notebook: don't fetch list of surfaces twice



commit e89fa0978fbb4b79ba692a8c0dc943c2b938f8ed
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Jul 1 00:10:19 2015 +0200

    notebook: don't fetch list of surfaces twice
    
    https://bugzilla.gnome.org/show_bug.cgi?id=751683

 src/libbiji/biji-notebook.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/libbiji/biji-notebook.c b/src/libbiji/biji-notebook.c
index 824c0f9..6153e8e 100644
--- a/src/libbiji/biji-notebook.c
+++ b/src/libbiji/biji-notebook.c
@@ -234,8 +234,7 @@ biji_notebook_get_emblem (BijiItem *coll,
   if (!self->priv->emblem)
   {
     pix = get_collected_pix (self, scale);
-    self->priv->emblem = biji_create_notebook_icon (BIJI_EMBLEM_WIDTH, scale,
-                                                    get_collected_pix (self, scale));
+    self->priv->emblem = biji_create_notebook_icon (BIJI_EMBLEM_WIDTH, scale, pix);
     g_list_free (pix);
   }
 


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