summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2010-01-12 02:47:25 -0500
committerBehdad Esfahbod <behdad@behdad.org>2010-01-12 02:47:25 -0500
commitc36b81bbee7addf15cf57ca8401ac9245affe678 (patch)
treec736f4c04fae630d3c5249ba3cdf59bdfd3e20a4
parent5311d24f0382fbfaac117a46b45f1163f370bfbd (diff)
Fix debug info
-rw-r--r--src/vte.c3
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.,