From c8ca7268383f9e1c1838f6d7995d8eaf63215f94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Sat, 25 Feb 2006 22:21:57 +0000 Subject: [PATCH] hopefully fixed a crash when closing the preferences dialog and message window was hidden and shown before git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@219 ea778897-0a13-0410-b9d1-a72fbfd435f5 --- src/vte.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vte.c b/src/vte.c index a10badf4..88b0a1cd 100644 --- a/src/vte.c +++ b/src/vte.c @@ -258,6 +258,7 @@ void vte_register_symbols(GModule *mod) void vte_apply_user_settings(void) { + gtk_widget_realize(vc->vte); vf->vte_terminal_set_scrollback_lines(VTE_TERMINAL(vc->vte), vc->scrollback_lines); vf->vte_terminal_set_scroll_on_keystroke(VTE_TERMINAL(vc->vte), vc->scroll_on_key); vf->vte_terminal_set_scroll_on_output(VTE_TERMINAL(vc->vte), vc->scroll_on_out);