diff options
author | Christian Persch <chpe@gnome.org> | 2009-11-30 22:46:53 +0100 |
---|---|---|
committer | Christian Persch <chpe@gnome.org> | 2009-11-30 22:46:53 +0100 |
commit | 320902d84b99c58ab7d6ae82b65bb1311288fe75 (patch) | |
tree | abe922161c7602cc5b63f8fde3adcfbb594b5b9b /src | |
parent | 66d729e0b6d84d7cce204d5a3c9b8e6b98087f07 (diff) |
Remove early return from style-set on non-realized widget
vte_terminal_set_font_full_internal copes just fine with this.
Diffstat (limited to 'src')
-rw-r--r-- | src/vte.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -4572,12 +4572,6 @@ vte_terminal_style_set (GtkWidget *widget, { VteTerminal *terminal = VTE_TERMINAL(widget); - if (!GTK_WIDGET_REALIZED(widget)) { - _vte_debug_print(VTE_DEBUG_MISC, - "Don't change style if we aren't realized.\n"); - return; - } - GTK_WIDGET_CLASS (vte_terminal_parent_class)->style_set (widget, prev_style); vte_terminal_set_font_full_internal(terminal, terminal->pvt->fontdesc, |