diff options
| author | Hugo Herbelin | 2019-02-07 16:54:11 +0100 |
|---|---|---|
| committer | Vincent Laporte | 2019-03-19 08:40:21 +0000 |
| commit | 4d69a22ffa06005b11040c9db9064a1d730eeb7f (patch) | |
| tree | 548a617e30615d1464ce5094d0f6ea0ccf87f98c /ide/wg_Command.ml | |
| parent | 73847d367b22b5d451bcf1e538b80ca057232754 (diff) | |
Fix for post-beta3 lablgtk3 changes about cairo (from Claudio).
Diffstat (limited to 'ide/wg_Command.ml')
| -rw-r--r-- | ide/wg_Command.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ide/wg_Command.ml b/ide/wg_Command.ml index dce2a0726b..be400a5f2d 100644 --- a/ide/wg_Command.ml +++ b/ide/wg_Command.ml @@ -103,7 +103,7 @@ object(self) let cb clr = result#misc#modify_bg [`NORMAL, `NAME clr] in let _ = background_color#connect#changed ~callback:cb in let _ = result#misc#connect#realize ~callback:(fun () -> cb background_color#get) in - let cb ft = result#misc#modify_font (Pango.Font.from_string ft) in + let cb ft = result#misc#modify_font (GPango.font_description_from_string ft) in stick text_font result cb; result#misc#set_can_focus true; (* false causes problems for selection *) let callback () = |
