[gnome-shell] telepathyClient: add a missing "new"
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] telepathyClient: add a missing "new"
- Date: Tue, 16 Nov 2010 19:09:09 +0000 (UTC)
commit c224e019fe7935b8025105e452f00fb2ebf0ba5e
Author: Dan Winship <danw gnome org>
Date: Tue Nov 16 14:08:52 2010 -0500
telepathyClient: add a missing "new"
js/ui/telepathyClient.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/telepathyClient.js b/js/ui/telepathyClient.js
index 01186d6..867c63a 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 });
}
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]