summaryrefslogtreecommitdiff
path: root/src/gtkext/gtksourceview.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-07-08 11:39:43 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-07-08 11:39:43 (GMT)
commit412f9fd31e625dbb2b00c25b6cc6b4753acd409d (patch)
tree04734e5ae66a2b470be8e3987eb797487f2d1e70 /src/gtkext/gtksourceview.c
parent5dcd05f19ac62f6ff922176cd0ae6f8839910f2e (diff)
Fixed the display of code source.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@248 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext/gtksourceview.c')
-rw-r--r--src/gtkext/gtksourceview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtkext/gtksourceview.c b/src/gtkext/gtksourceview.c
index 2e5ed48..1244bb8 100644
--- a/src/gtkext/gtksourceview.c
+++ b/src/gtkext/gtksourceview.c
@@ -154,6 +154,6 @@ static void gtk_source_view_attach_binary(GtkSourceView *view, GOpenidaBinary *b
/* FIXME */
if (buffer != NULL)
- gtk_buffer_view_attach_buffer(GTK_BUFFER_VIEW(view), buffer, addr, code);
+ gtk_buffer_view_attach_buffer(GTK_BUFFER_VIEW(view), g_buffer_view_new(buffer), addr, code);
}