remoteSearch: fix a typo in createIcon

4288761235 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
This commit is contained in:
Cosimo Cecchi 2013-01-14 19:36:18 -05:00
parent adf8ba67d2
commit 16a9391726

View File

@ -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 });
},