summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <cpwilson@src.gnome.org>2007-02-27 12:16:37 +0000
committerChris Wilson <cpwilson@src.gnome.org>2007-02-27 12:16:37 +0000
commit88bdbffc45efcff6d612fb40e4a382c16a16c822 (patch)
tree819880a7ca2f4cd3673c9d5742dc1632c0a6b256
parent9eccc6f8fae64b5bd28d8de26272b47f6d85a786 (diff)
downloadvte-88bdbffc45efcff6d612fb40e4a382c16a16c822.tar.gz
minor whitespace
svn path=/trunk/; revision=1770
-rw-r--r--src/vte.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/vte.c b/src/vte.c
index f724c19c..cffe11a5 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -11945,18 +11945,20 @@ process_timeout (gpointer data)
multiple_active = active_terminals->next != NULL;
for (l = active_terminals; l != NULL; l = next) {
VteTerminal *terminal = l->data;
+
next = g_list_next (l);
+
if (l != active_terminals) {
_vte_debug_print (VTE_DEBUG_WORK, "T");
}
- if (terminal->pvt->pty_input) {
+ if (terminal->pvt->pty_input != NULL) {
if (terminal->pvt->pty_input_active ||
terminal->pvt->pty_input_source == VTE_INVALID_SOURCE) {
terminal->pvt->pty_input_active = FALSE;
- vte_terminal_io_read(terminal->pvt->pty_input,
+ vte_terminal_io_read (terminal->pvt->pty_input,
G_IO_IN, terminal);
}
- _vte_terminal_enable_input_source(terminal);
+ _vte_terminal_enable_input_source (terminal);
}
again = FALSE;
if (need_processing (terminal)) {
@@ -12057,13 +12059,13 @@ update_repeat_timeout (gpointer data)
multiple_active = active_terminals->next != NULL;
for (l = active_terminals; l != NULL; l = next) {
VteTerminal *terminal = l->data;
+
next = g_list_next (l);
if (l != active_terminals) {
_vte_debug_print (VTE_DEBUG_WORK, "T");
}
-
- if (terminal->pvt->pty_input) {
+ if (terminal->pvt->pty_input != NULL) {
if (terminal->pvt->pty_input_active ||
terminal->pvt->pty_input_source == VTE_INVALID_SOURCE) {
terminal->pvt->pty_input_active = FALSE;
@@ -12153,11 +12155,11 @@ update_timeout (gpointer data)
if (l != active_terminals) {
_vte_debug_print (VTE_DEBUG_WORK, "T");
}
- if (terminal->pvt->pty_input) {
+ if (terminal->pvt->pty_input != NULL) {
if (terminal->pvt->pty_input_active ||
terminal->pvt->pty_input_source == VTE_INVALID_SOURCE) {
terminal->pvt->pty_input_active = FALSE;
- vte_terminal_io_read(terminal->pvt->pty_input,
+ vte_terminal_io_read (terminal->pvt->pty_input,
G_IO_IN, terminal);
}
_vte_terminal_enable_input_source (terminal);