diff options
author | raveit65 <[email protected]> | 2016-06-10 11:47:44 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-06-10 11:47:44 +0200 |
commit | 40a42eb82a124ba4ded557cdb7d0b8a9076af8eb (patch) | |
tree | 73b06e1ba56bef5492935dc0280db7af4ac6e81c /src/terminal-screen.c | |
parent | bb63141924bc5cc9f6984f00e2f8e3ae454d475b (diff) | |
download | mate-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
Diffstat (limited to 'src/terminal-screen.c')
-rw-r--r-- | src/terminal-screen.c | 6 |
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 |