aboutsummaryrefslogtreecommitdiff
path: root/src/sc_editor.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2015-10-23 15:28:21 +0100
committerThomas White <taw@bitwiz.org.uk>2015-10-23 15:28:34 +0100
commit0c97dcc9968391ef824af8f99981580af3e8224a (patch)
tree840ac23887f481e6ed874bddcda48cc2832ed26a /src/sc_editor.c
parent3a04b087b385978d597c526b279fa264f05b2dc9 (diff)
Restore callback list in editor
Diffstat (limited to 'src/sc_editor.c')
-rw-r--r--src/sc_editor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sc_editor.c b/src/sc_editor.c
index 9d4da55..c498a69 100644
--- a/src/sc_editor.c
+++ b/src/sc_editor.c
@@ -102,7 +102,7 @@ static gboolean resize_sig(GtkWidget *widget, GdkEventConfigure *event,
/* Interpret and shape, if not already done */
if ( e->top == NULL ) {
cairo_t *cr = gdk_cairo_create(gtk_widget_get_window(widget));
- e->top = interp_and_shape(e->scblocks, e->stylesheets, NULL,
+ e->top = interp_and_shape(e->scblocks, e->stylesheets, e->cbl,
e->is, ISZ_EDITOR, 0, cr);
cairo_destroy(cr);
}
@@ -276,7 +276,7 @@ static void full_rerender(SCEditor *e)
e->selection = NULL;
cairo_t *cr = gdk_cairo_create(gtk_widget_get_window(GTK_WIDGET(e)));
- e->top = interp_and_shape(e->scblocks, e->stylesheets, NULL,
+ e->top = interp_and_shape(e->scblocks, e->stylesheets, e->cbl,
e->is, ISZ_EDITOR, 0, cr);
cairo_destroy(cr);