From 4d69a22ffa06005b11040c9db9064a1d730eeb7f Mon Sep 17 00:00:00 2001 From: Hugo Herbelin Date: Thu, 7 Feb 2019 16:54:11 +0100 Subject: Fix for post-beta3 lablgtk3 changes about cairo (from Claudio). --- ide/wg_ScriptView.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ide/wg_ScriptView.ml') diff --git a/ide/wg_ScriptView.ml b/ide/wg_ScriptView.ml index 7812f1a222..e95176bf4d 100644 --- a/ide/wg_ScriptView.ml +++ b/ide/wg_ScriptView.ml @@ -484,7 +484,7 @@ object (self) stick tab_length self self#set_tab_width; stick auto_complete self self#set_auto_complete; - let cb ft = self#misc#modify_font (Pango.Font.from_string ft) in + let cb ft = self#misc#modify_font (GPango.font_description_from_string ft) in stick text_font self cb; () -- cgit v1.2.3