summaryrefslogtreecommitdiff
path: root/src/gtkext/gtkblockview.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-07-31 23:34:56 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-07-31 23:34:56 (GMT)
commitd02deb2425d6559c357bdd00e1c0fb05f35d5fc9 (patch)
tree1a78849aa7d51706856a6c6127f66b48c188d0fc /src/gtkext/gtkblockview.c
parentfd2abec30a224279c62a7ab4892d95e56cb08dff (diff)
Processed disassembling in a dedicated thread.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@104 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext/gtkblockview.c')
-rw-r--r--src/gtkext/gtkblockview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtkext/gtkblockview.c b/src/gtkext/gtkblockview.c
index ad0aded..2659b0d 100644
--- a/src/gtkext/gtkblockview.c
+++ b/src/gtkext/gtkblockview.c
@@ -357,7 +357,7 @@ static gboolean gtk_block_view_expose(GtkWidget *widget, GdkEventExpose *event)
y = event->area.y - y;
- for ( ; iter != NULL;
+ for ( ; iter != NULL && y < (event->area.y + event->area.height);
iter = g_rendering_line_get_next_iter(view->lines, iter, view->last))
{
g_rendering_line_draw(iter, GDK_DRAWABLE(widget->window), view->gc,