gnome-terminal r2587 - trunk/src



Author: chpe
Date: Thu May 29 19:36:11 2008
New Revision: 2587
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2587&view=rev

Log:
Remove more from terminal-widget.h.


Modified:
   trunk/src/terminal-screen.c
   trunk/src/terminal-widget-vte.c

Modified: trunk/src/terminal-screen.c
==============================================================================
--- trunk/src/terminal-screen.c	(original)
+++ trunk/src/terminal-screen.c	Thu May 29 19:36:11 2008
@@ -808,8 +808,9 @@
                                          &fg, &bg);
     }
 
-  terminal_widget_set_colors (priv->term,
-                              &fg, &bg, palette);
+  vte_terminal_set_colors (VTE_TERMINAL (screen), &fg, &bg,
+                           palette, TERMINAL_PALETTE_SIZE);
+  vte_terminal_set_background_tint_color (VTE_TERMINAL (screen), &bg);
 }
 
 /* Note this can be called on style_set, on prefs changing,

Modified: trunk/src/terminal-widget-vte.c
==============================================================================
--- trunk/src/terminal-widget-vte.c	(original)
+++ trunk/src/terminal-widget-vte.c	Thu May 29 19:36:11 2008
@@ -30,20 +30,6 @@
 #include <vte/vte.h>
 #include <gdk/gdkx.h>
 
-#define UNIMPLEMENTED /* g_warning (G_STRLOC": unimplemented") */
-
-void
-terminal_widget_set_colors (GtkWidget      *widget,
-			    const GdkColor *foreground,
-			    const GdkColor *background,
-			    const GdkColor *palette_entries)
-{
-  g_return_if_fail(VTE_IS_TERMINAL(widget));
-  vte_terminal_set_colors(VTE_TERMINAL(widget), foreground, background,
-			  palette_entries, TERMINAL_PALETTE_SIZE);
-  vte_terminal_set_background_tint_color(VTE_TERMINAL(widget), background);
-}
-
 void
 terminal_widget_connect_child_died (GtkWidget *widget,
 				    GCallback  callback,



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