summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2009-11-30 22:46:53 +0100
committerChristian Persch <chpe@gnome.org>2009-11-30 22:46:53 +0100
commit320902d84b99c58ab7d6ae82b65bb1311288fe75 (patch)
treeabe922161c7602cc5b63f8fde3adcfbb594b5b9b /src
parent66d729e0b6d84d7cce204d5a3c9b8e6b98087f07 (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.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/vte.c b/src/vte.c
index 35a45ae..3c8ed6b 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -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,