[gnome-shell] telepathy-client: Replace shell_util_new_from_string



commit b62f5ef07d87db7835fa753fe1774a5ed32d871d
Author: Florian MÃllner <fmuellner gnome org>
Date:   Mon Oct 24 15:52:13 2011 +0200

    telepathy-client: Replace shell_util_new_from_string
    
    The function has been removed in commit 786cfbd3976, but one user
    was overlooked when replacing it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=661231

 js/ui/telepathyClient.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/telepathyClient.js b/js/ui/telepathyClient.js
index 695a12b..3c14eda 100644
--- a/js/ui/telepathyClient.js
+++ b/js/ui/telepathyClient.js
@@ -1297,7 +1297,7 @@ MultiNotificationSource.prototype = {
     },
 
     createNotificationIcon: function() {
-        return new St.Icon({ gicon: Shell.util_icon_from_string(this._icon),
+        return new St.Icon({ gicon: Gio.icon_new_for_string(this._icon),
                              icon_type: St.IconType.FULLCOLOR,
                              icon_size: this.ICON_SIZE });
     }



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