[vte] widget: Inline a one-liner in the only caller
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] widget: Inline a one-liner in the only caller
- Date: Tue, 22 Dec 2015 21:48:03 +0000 (UTC)
commit 851e34347b0319133041c63138186c8ce3e37f48
Author: Christian Persch <chpe gnome org>
Date: Tue Dec 22 22:47:13 2015 +0100
widget: Inline a one-liner in the only caller
src/vte.cc | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/src/vte.cc b/src/vte.cc
index 1fbf8d5..4868241 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -10642,12 +10642,6 @@ vte_terminal_start_processing (VteTerminal *terminal)
}
}
-static inline gboolean
-need_processing (VteTerminal *terminal)
-{
- return _vte_incoming_chunks_length (terminal->pvt->incoming) != 0;
-}
-
void
VteTerminalPrivate::emit_pending_signals()
{
@@ -10778,7 +10772,7 @@ process_terminal(VteTerminal *terminal,
}
if (emit_adj_changed)
terminal->pvt->emit_adjustment_changed();
- active = need_processing (terminal);
+ active = _vte_incoming_chunks_length (terminal->pvt->incoming) != 0;
if (active) {
if (VTE_MAX_PROCESS_TIME) {
time_process_incoming (terminal);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]