summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-06-10 11:47:44 +0200
committerraveit65 <[email protected]>2016-06-10 11:47:44 +0200
commit40a42eb82a124ba4ded557cdb7d0b8a9076af8eb (patch)
tree73b06e1ba56bef5492935dc0280db7af4ac6e81c
parentbb63141924bc5cc9f6984f00e2f8e3ae454d475b (diff)
downloadmate-terminal-40a42eb82a124ba4ded557cdb7d0b8a9076af8eb.tar.bz2
mate-terminal-40a42eb82a124ba4ded557cdb7d0b8a9076af8eb.tar.xz
Update font on realize
taken from: https://git.gnome.org/browse/gnome-terminal/commit/?id=ed24174
-rw-r--r--src/terminal-screen.c6
1 files changed, 5 insertions, 1 deletions
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