[gnome-shell] lookingGlass: Remove old hack for static functions on interfaces
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] lookingGlass: Remove old hack for static functions on interfaces
- Date: Fri, 8 Feb 2013 19:35:26 +0000 (UTC)
commit a43be186d3379a39b97cc290daec4fa90482d810
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Feb 7 06:01:29 2013 -0500
lookingGlass: Remove old hack for static functions on interfaces
This has been fixed with the addition of interfaces in Gjs.
js/ui/lookingGlass.js | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/lookingGlass.js b/js/ui/lookingGlass.js
index 44802d2..f39479b 100644
--- a/js/ui/lookingGlass.js
+++ b/js/ui/lookingGlass.js
@@ -950,9 +950,7 @@ const LookingGlass = new Lang.Class({
_updateFont: function() {
let fontName = this._interfaceSettings.get_string('monospace-font-name');
- // This is mishandled by the scanner - should by Pango.FontDescription_from_string(fontName);
- // https://bugzilla.gnome.org/show_bug.cgi?id=595889
- let fontDesc = Pango.font_description_from_string(fontName);
+ let fontDesc = Pango.FontDescription.from_string(fontName);
// We ignore everything but size and style; you'd be crazy to set your system-wide
// monospace font to be bold/oblique/etc. Could easily be added here.
this.actor.style =
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]