[gnome-shell] remoteSearch: fix a typo in createIcon



commit 16a9391726913965f87a90abfa6a1aa1cbb57a4d
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Jan 14 19:36:18 2013 -0500

    remoteSearch: fix a typo in createIcon
    
    428876123579589a228770faab57887169fea343 changed the method to always
    create a GIcon, but didn't pass it down to the StIcon constructor.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=691750

 js/ui/remoteSearch.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/remoteSearch.js b/js/ui/remoteSearch.js
index 1033e58..761d315 100644
--- a/js/ui/remoteSearch.js
+++ b/js/ui/remoteSearch.js
@@ -199,7 +199,7 @@ const RemoteSearchProvider = new Lang.Class({
                                                        bitsPerSample, width, height, rowStride);
         }
 
-        return new St.Icon({ gicon: Gio.icon_new_for_string(meta['gicon']),
+        return new St.Icon({ gicon: gicon,
                              icon_size: size });
     },
 



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