[vte] Fix debug info



commit c36b81bbee7addf15cf57ca8401ac9245affe678
Author: Behdad Esfahbod <behdad behdad org>
Date:   Tue Jan 12 02:47:25 2010 -0500

    Fix debug info

 src/vte.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index d6502c1..d58fd60 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -12454,7 +12454,6 @@ vte_terminal_im_append_menuitems(VteTerminal *terminal, GtkMenuShell *menushell)
 static gboolean
 vte_terminal_background_update(VteTerminal *terminal)
 {
-	GdkColor bgcolor;
 	double saturation;
 	const PangoColor *entry;
 
@@ -12473,7 +12472,7 @@ vte_terminal_background_update(VteTerminal *terminal)
 	entry = &terminal->pvt->palette[VTE_DEF_BG];
 	_vte_debug_print(VTE_DEBUG_MISC,
 			"Setting background color to (%d, %d, %d).\n",
-			bgcolor.red, bgcolor.green, bgcolor.blue);
+			entry->red, entry->green, entry->blue);
 
 	_vte_draw_set_background_solid (terminal->pvt->draw, 
 					entry->red / 65535.,



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