SF.net SVN: geany:[2849] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Fri Aug 1 15:55:21 UTC 2008


Revision: 2849
          http://geany.svn.sourceforge.net/geany/?rev=2849&view=rev
Author:   eht16
Date:     2008-08-01 15:55:20 +0000 (Fri, 01 Aug 2008)

Log Message:
-----------
Initialise the VTE pid var with 0 just for safety.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/vte.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-08-01 15:54:21 UTC (rev 2848)
+++ trunk/ChangeLog	2008-08-01 15:55:20 UTC (rev 2849)
@@ -2,6 +2,8 @@
 
  * src/callbacks.c, src/vte.c, src/vte.h:
    Revert r2843 because it messed it Ctrl-C/SIGINT in the VTE.
+ * src/vte.c:
+   Initialise the VTE pid var with 0 just for safety.
 
 
 2008-07-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>

Modified: trunk/src/vte.c
===================================================================
--- trunk/src/vte.c	2008-08-01 15:54:21 UTC (rev 2848)
+++ trunk/src/vte.c	2008-08-01 15:55:20 UTC (rev 2849)
@@ -49,7 +49,7 @@
 VteConfig *vc;
 
 extern gchar **environ;
-static pid_t pid;
+static pid_t pid = 0;
 static gboolean clean = TRUE;
 static GModule *module = NULL;
 static struct VteFunctions *vf;
@@ -441,6 +441,8 @@
 	if (! ui_prefs.msgwindow_visible)
 		return;
 
+	geany_debug("VTE widget realized"); /* temporary :) */
+
 	vf->vte_terminal_set_scrollback_lines(VTE_TERMINAL(vc->vte), vc->scrollback_lines);
 	vf->vte_terminal_set_scroll_on_keystroke(VTE_TERMINAL(vc->vte), vc->scroll_on_key);
 	vf->vte_terminal_set_scroll_on_output(VTE_TERMINAL(vc->vte), vc->scroll_on_out);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list