aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2015-10-25 20:21:06 +0000
committerThomas White <taw@bitwiz.org.uk>2015-10-25 20:21:06 +0000
commit931c70630f9d87ab371dad830c6b2cb94a2b882d (patch)
tree22798dfa7d1b2d339c920da86ec4448122432d75 /src
parent5694221626157e5200f02b564c9c6c2b4f0d746c (diff)
Comments
Diffstat (limited to 'src')
-rw-r--r--src/narrative_window.c1
-rw-r--r--src/sc_editor.c1
-rw-r--r--src/sc_interp.c2
3 files changed, 2 insertions, 2 deletions
diff --git a/src/narrative_window.c b/src/narrative_window.c
index fd3112c..93e8d8f 100644
--- a/src/narrative_window.c
+++ b/src/narrative_window.c
@@ -425,6 +425,7 @@ static cairo_surface_t *render_thumbnail(int w, int h, void *bvp, void *vp)
scblocks = sc_block_child(scblocks);
stylesheets[0] = p->stylesheet;
stylesheets[1] = NULL;
+ /* FIXME: Cache like crazy here */
surf = render_sc(scblocks, w, h, 1024.0, 768.0, stylesheets, NULL,
p->is, ISZ_THUMBNAIL, 0, &top);
frame_free(top);
diff --git a/src/sc_editor.c b/src/sc_editor.c
index 05f74f8..7786bc8 100644
--- a/src/sc_editor.c
+++ b/src/sc_editor.c
@@ -78,7 +78,6 @@ static void set_vertical_params(SCEditor *e)
if ( e->vadj == NULL ) return;
gtk_adjustment_configure(e->vadj, e->scroll_pos, 0, e->h, 100,
e->visible_height, e->visible_height);
- printf("set scrollbar for height %i, ac %i\n", e->visible_height, e->h);
}
diff --git a/src/sc_interp.c b/src/sc_interp.c
index 500bb94..4138a7a 100644
--- a/src/sc_interp.c
+++ b/src/sc_interp.c
@@ -1,7 +1,7 @@
/*
* sc_interp.c
*
- * Copyright © 2014 Thomas White <taw@bitwiz.org.uk>
+ * Copyright © 2014-2015 Thomas White <taw@bitwiz.org.uk>
*
* This file is part of Colloquium.
*