telepathyClient: add a missing "new"

This commit is contained in:
Dan Winship 2010-11-16 14:08:52 -05:00
parent aa91491730
commit c224e019fe

View File

@ -347,9 +347,9 @@ ContactManager.prototype = {
let uri = GLib.filename_to_uri(file, null); let uri = GLib.filename_to_uri(file, null);
iconBox.child = textureCache.load_uri_async(uri, iconBox._size, iconBox._size); iconBox.child = textureCache.load_uri_async(uri, iconBox._size, iconBox._size);
} else { } else {
iconBox.child = St.Icon({ icon_name: 'stock_person', iconBox.child = new St.Icon({ icon_name: 'stock_person',
icon_type: St.IconType.FULLCOLOR, icon_type: St.IconType.FULLCOLOR,
icon_size: iconBox._size }); icon_size: iconBox._size });
} }
}, },