From c224e019fe7935b8025105e452f00fb2ebf0ba5e Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 16 Nov 2010 14:08:52 -0500 Subject: [PATCH] telepathyClient: add a missing "new" --- js/ui/telepathyClient.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/ui/telepathyClient.js b/js/ui/telepathyClient.js index 01186d6b0..867c63aff 100644 --- a/js/ui/telepathyClient.js +++ b/js/ui/telepathyClient.js @@ -347,9 +347,9 @@ ContactManager.prototype = { let uri = GLib.filename_to_uri(file, null); iconBox.child = textureCache.load_uri_async(uri, iconBox._size, iconBox._size); } else { - iconBox.child = St.Icon({ icon_name: 'stock_person', - icon_type: St.IconType.FULLCOLOR, - icon_size: iconBox._size }); + iconBox.child = new St.Icon({ icon_name: 'stock_person', + icon_type: St.IconType.FULLCOLOR, + icon_size: iconBox._size }); } },