summaryrefslogtreecommitdiff
path: root/src/vte.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2011-10-27 23:10:56 +0200
committerChristian Persch <chpe@gnome.org>2011-10-27 23:12:54 +0200
commite68cfbac308e98d704fbca579bab53998904c7ad (patch)
tree3765bcedc52ab70ed9af8e9701215ec2f4c2da49 /src/vte.c
parente6a83f6175c2865385c80deec1f7ed79650f7d58 (diff)
downloadvte-e68cfbac308e98d704fbca579bab53998904c7ad.tar.gz
Don't override the widget background colour
The comment was inaccurate; we always do draw the background colour even when the background mode is NONE. Removing the colour override makes theme colours working again in gnome-terminal's gsettings branch.
Diffstat (limited to 'src/vte.c')
-rw-r--r--src/vte.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/vte.c b/src/vte.c
index 8c19f587..ed598105 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -13201,13 +13201,10 @@ vte_terminal_background_update(VteTerminal *terminal)
entry->red, entry->green, entry->blue,
terminal->pvt->bg_opacity);
- /* Set the terminal widget background color since otherwise we
- * won't draw it for VTE_BG_SOURCE_NONE. */
color.red = entry->red / 65535.;
color.green = entry->green / 65535.;
color.blue = entry->blue / 65535.;
color.alpha = terminal->pvt->bg_opacity / 65535.;
- gtk_widget_override_background_color (&terminal->widget, GTK_STATE_FLAG_NORMAL, &color);
_vte_draw_set_background_solid (terminal->pvt->draw,
color.red, color.green, color.blue, color.alpha);