[vte/vte-next] vteapp: Use the default colours
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/vte-next] vteapp: Use the default colours
- Date: Sun, 22 May 2011 22:19:35 +0000 (UTC)
commit a7c783c7c997fca7afe1220b5dd401ac62368a38
Author: Christian Persch <chpe gnome org>
Date: Sun May 22 21:08:49 2011 +0200
vteapp: Use the default colours
src/vteapp.c | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/src/vteapp.c b/src/vteapp.c
index 28985a4..d8171ab 100644
--- a/src/vteapp.c
+++ b/src/vteapp.c
@@ -566,7 +566,6 @@ main(int argc, char **argv)
char *css = NULL;
char *css_file = NULL;
char *selection_background_color_string = NULL;
- GdkRGBA fore, back, cursor;
const GOptionEntry options[]={
{
"background", 'B', 0,
@@ -813,16 +812,6 @@ main(int argc, char **argv)
g_string_append (css_string, "VteTerminal { -VteTerminal-scroll-background: true; }\n");
}
- if (!reverse) {
- back.red = back.green = back.blue = 1.0; back.alpha = 1.0;
- fore.red = fore.green = fore.blue = 0.0; fore.alpha = 1.0;
- } else {
- back.red = back.green = back.blue = 0.0; back.alpha = 1.0;
- fore.red = fore.green = fore.blue = 1.0; fore.alpha = 1.0;
- }
-
- cursor.red = 1.0; cursor.green = cursor.blue = 0.5; cursor.alpha = 1.0;
-
gdk_window_set_debug_updates(debug);
/* Create a window to hold the scrolling shell, and hook its
@@ -966,7 +955,6 @@ main(int argc, char **argv)
cairo_pattern_destroy(pattern);
}
- vte_terminal_set_colors_rgba(terminal, &fore, &back, NULL, 0);
if (termcap != NULL) {
vte_terminal_set_emulation(terminal, termcap);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]