[gnome-terminal] Remove dead code
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] Remove dead code
- Date: Thu, 3 May 2012 19:01:34 +0000 (UTC)
commit 3517b75d1cdd58252a4434fe4005c1173c7c1f76
Author: Christian Persch <chpe gnome org>
Date: Fri Aug 12 21:52:10 2011 +0200
Remove dead code
src/terminal-screen.c | 25 -------------------------
1 files changed, 0 insertions(+), 25 deletions(-)
---
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
index 3822b12..d02b7f5 100644
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
@@ -266,20 +266,6 @@ terminal_screen_get_window (TerminalScreen *screen)
return TERMINAL_WINDOW (toplevel);
}
-#if 0
-static gboolean
-window_uses_argb_visual (TerminalScreen *screen)
-{
- TerminalWindow *window;
-
- window = terminal_screen_get_window (screen);
- if (window == NULL || !gtk_widget_get_realized (GTK_WIDGET (window)))
- return FALSE;
-
- return terminal_window_uses_argb_visual (window);
-}
-#endif
-
static void
terminal_screen_realize (GtkWidget *widget)
{
@@ -287,17 +273,6 @@ terminal_screen_realize (GtkWidget *widget)
GTK_WIDGET_CLASS (terminal_screen_parent_class)->realize (widget);
-#if 0
- TerminalScreenPrivate *priv = screen->priv;
- TerminalBackgroundType bg_type;
-
- /* FIXME: Don't enable this if we have a compmgr. */
- bg_type = g_settings_get_enum (priv->profile, TERMINAL_PROFILE_BACKGROUND_TYPE_KEY);
- vte_terminal_set_background_transparent (VTE_TERMINAL (screen),
- bg_type == TERMINAL_BACKGROUND_TRANSPARENT &&
- !window_uses_argb_visual (screen));
-#endif
-
terminal_screen_set_font (screen);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]