[gtksourceview/wip/improve-gutter-perfs: 10/10] test gutter perfs
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/improve-gutter-perfs: 10/10] test gutter perfs
- Date: Mon, 15 Sep 2014 13:57:02 +0000 (UTC)
commit fb73bc0b26636097b321c99f7e4b1b51465ea17e
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri Sep 12 18:03:33 2014 +0200
test gutter perfs
gtksourceview/gtksourcegutter.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtksourceview/gtksourcegutter.c b/gtksourceview/gtksourcegutter.c
index 8b55d52..9a354b2 100644
--- a/gtksourceview/gtksourcegutter.c
+++ b/gtksourceview/gtksourcegutter.c
@@ -941,6 +941,10 @@ on_view_draw (GtkSourceView *view,
gutter->priv->is_drawing = TRUE;
+ static gint nb_draws = 1;
+ g_print ("draw gutter: %d\n", nb_draws);
+ nb_draws++;
+
text_view = GTK_TEXT_VIEW (view);
buffer = gtk_text_view_get_buffer (text_view);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]