[vte] Remove obsolete warning message



commit 85d92cf07482ab861173d5516319284b8173c801
Author: Christian Persch <chpe gnome org>
Date:   Tue Mar 30 21:02:20 2010 +0200

    Remove obsolete warning message
    
    We now report back a GError which is much better than spewing random
    stuff to the console.

 src/pty.c |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/src/pty.c b/src/pty.c
index f996d9b..e59d48a 100644
--- a/src/pty.c
+++ b/src/pty.c
@@ -1145,17 +1145,6 @@ _vte_pty_start_helper(GError **error)
         if (_vte_pty_helper_started)
                 return TRUE;
 
-	/* Sanity check. */
-	if (access(LIBEXECDIR "/gnome-pty-helper", X_OK) != 0) {
-		/* Give the user some clue as to why session logging is not
-		 * going to work (assuming we can open a pty using some other
-		 * method). */
-		g_warning(_("can not run %s"), LIBEXECDIR "/gnome-pty-helper");
-		g_set_error(error, VTE_PTY_ERROR,
-                            VTE_PTY_ERROR_PTY_HELPER_FAILED,
-                            _("can not run %s"), LIBEXECDIR "/gnome-pty-helper");
-		return FALSE;
-	}
 	/* Create a communication link for use with the helper. */
 	tmp[0] = open("/dev/null", O_RDONLY);
 	if (tmp[0] == -1) {



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