introspection: Fix use of pango_font_description_from_string()
This commit is contained in:
parent
dddd97f6df
commit
177a136adc
@ -782,7 +782,7 @@ LookingGlass.prototype = {
|
|||||||
let fontName = gconf.get_string('/desktop/gnome/interface/monospace_font_name');
|
let fontName = gconf.get_string('/desktop/gnome/interface/monospace_font_name');
|
||||||
// This is mishandled by the scanner - should by Pango.FontDescription_from_string(fontName);
|
// This is mishandled by the scanner - should by Pango.FontDescription_from_string(fontName);
|
||||||
// https://bugzilla.gnome.org/show_bug.cgi?id=595889
|
// https://bugzilla.gnome.org/show_bug.cgi?id=595889
|
||||||
let fontDesc = Pango.Font.description_from_string(fontName);
|
let fontDesc = Pango.font_description_from_string(fontName);
|
||||||
// We ignore everything but size and style; you'd be crazy to set your system-wide
|
// 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.
|
// monospace font to be bold/oblique/etc. Could easily be added here.
|
||||||
this.actor.style =
|
this.actor.style =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user