[gnome-terminal] Remove bogus assertion



commit 0797ab1594982111a8d679a103d4fdbbea030a97
Author: Christian Persch <chpe gnome org>
Date:   Tue Sep 1 18:02:22 2009 +0200

    Remove bogus assertion
    
    The terminal screen won't be realized until the first time it's becoming
    the active tab.

 src/terminal-screen.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
index abc2e06..7fb9809 100644
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
@@ -1561,8 +1561,6 @@ terminal_screen_launch_child_cb (TerminalScreen *screen)
 
   priv->launch_child_source_id = 0;
 
-  g_return_val_if_fail (GTK_WIDGET_REALIZED (screen), FALSE);
-
   _terminal_debug_print (TERMINAL_DEBUG_PROCESSES,
                          "[screen %p] now launching the child process\n",
                          screen);



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