[vte] Revert 9370647823ce29c1088c351381a07a5506b74c84



commit dab50851a395069492218115caf44361b742b20c
Author: Behdad Esfahbod <behdad behdad org>
Date:   Mon Sep 20 22:23:39 2010 -0400

    Revert 9370647823ce29c1088c351381a07a5506b74c84
    
    Was not needed anymore.  For details see:
    
    Bug 621902 - artifacts shown at the button of maximized terminal after
    minimizing another window over it

 src/vte.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index e8acb95..5c2c1aa 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -12697,7 +12697,6 @@ vte_terminal_background_update(VteTerminal *terminal)
 {
 	double saturation;
 	const PangoColor *entry;
-	GdkColor color;
 
 	/* If we're not realized yet, don't worry about it, because we get
 	 * called when we realize. */
@@ -12717,13 +12716,6 @@ 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;
-	color.green = entry->green;
-	color.blue = entry->blue;
-	gtk_widget_modify_bg (&terminal->widget, GTK_STATE_NORMAL, &color);
-
 	_vte_draw_set_background_solid (terminal->pvt->draw, 
 					entry->red / 65535.,
 					entry->green / 65535.,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]