From 40a42eb82a124ba4ded557cdb7d0b8a9076af8eb Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 10 Jun 2016 11:47:44 +0200 Subject: [PATCH] Update font on realize taken from: https://git.gnome.org/browse/gnome-terminal/commit/?id=ed24174 --- src/terminal-screen.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/terminal-screen.c b/src/terminal-screen.c index 38021dc..d23ce2d 100644 --- a/src/terminal-screen.c +++ b/src/terminal-screen.c @@ -286,7 +286,11 @@ terminal_screen_get_window (TerminalScreen *screen) static void terminal_screen_realize (GtkWidget *widget) { - GTK_WIDGET_CLASS (terminal_screen_parent_class)->realize (widget); + TerminalScreen *screen = TERMINAL_SCREEN (widget); + + GTK_WIDGET_CLASS (terminal_screen_parent_class)->realize (widget); + + terminal_screen_set_font (screen); } static void