summaryrefslogtreecommitdiff
path: root/editors/gtksourceview/files/patch-gtksourceview_gtksourcebuffer.c
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-05-08 00:26:31 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-05-08 00:26:31 +0000
commitc23c7d4ba70479fa21ead6658ef8c33ce7f366d5 (patch)
tree3999a522df234471fed91e24da559aa91e2e3128 /editors/gtksourceview/files/patch-gtksourceview_gtksourcebuffer.c
parentA couple touch-ups. (diff)
Add gtksourceview, and editor component that adds syntax highlighting
support to the default GtkTextView widget.
Notes
Notes: svn path=/head/; revision=80404
Diffstat (limited to 'editors/gtksourceview/files/patch-gtksourceview_gtksourcebuffer.c')
-rw-r--r--editors/gtksourceview/files/patch-gtksourceview_gtksourcebuffer.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/gtksourceview/files/patch-gtksourceview_gtksourcebuffer.c b/editors/gtksourceview/files/patch-gtksourceview_gtksourcebuffer.c
new file mode 100644
index 000000000000..b6aa901c17a9
--- /dev/null
+++ b/editors/gtksourceview/files/patch-gtksourceview_gtksourcebuffer.c
@@ -0,0 +1,14 @@
+--- gtksourceview/gtksourcebuffer.c.orig Wed May 7 20:05:58 2003
++++ gtksourceview/gtksourcebuffer.c Wed May 7 20:06:18 2003
+@@ -687,9 +687,10 @@
+ static void
+ get_tags_func (GtkTextTag *tag, gpointer data)
+ {
++ GSList **list;
+ g_return_if_fail (data != NULL);
+
+- GSList **list = (GSList **) data;
++ list = (GSList **) data;
+
+ if (GTK_IS_SOURCE_TAG (tag))
+ {