summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2007-02-24 11:29:59 +0000
committerChris Wilson <cpwilson@src.gnome.org>2007-02-24 11:29:59 +0000
commit387064eef67af0e4c84666b7eb892db1626a3b5a (patch)
tree1793e8b3bc606afc93e311c64a5de392a008aaa4
parent00f2d286a7795004a8591742eab788f1ad424cec (diff)
downloadvte-387064eef67af0e4c84666b7eb892db1626a3b5a.tar.gz
Hint that the compiler should inline vte_terminal_determine_colors().
2007-02-24 Chris Wilson <chris@chris-wilson.co.uk> * src/vte.c: Hint that the compiler should inline vte_terminal_determine_colors(). svn path=/trunk/; revision=1744
-rw-r--r--ChangeLog6
-rw-r--r--src/vte.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a1c7afbb..ee84fc3a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2007-02-24 Chris Wilson <chris@chris-wilson.co.uk>
+ * src/vte.c:
+ Hint that the compiler should inline
+ vte_terminal_determine_colors().
+
+2007-02-24 Chris Wilson <chris@chris-wilson.co.uk>
+
cf Bug 410534 – Slow content scrolling, takes 100% of CPU.
cf Bug 410463 – Poor interactive performance with multiple terminals
diff --git a/src/vte.c b/src/vte.c
index d17db3e9..e0e43ffa 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -7805,7 +7805,7 @@ vte_terminal_realize(GtkWidget *widget)
vte_terminal_background_update(terminal);
}
-static void
+static inline void
vte_terminal_determine_colors(VteTerminal *terminal,
const struct vte_charcell *cell,
gboolean reverse,