Commit bdba5b75 authored by Martin Blanchard's avatar Martin Blanchard Committed by Alberto Fanjul

Update GtkSourceView dependency

fixes 131
parent fd407a45
Pipeline #89825 passed with stages
in 9 minutes and 53 seconds
......@@ -54,7 +54,7 @@ class Gitg.DiffViewFileSelectable : Object
buffer.get_start_iter(out iter);
while (buffer.forward_iter_to_source_mark(ref iter, d_selection_category))
while (buffer.forward_iter_to_source_mark(iter, d_selection_category))
{
ret += iter.get_line();
}
......@@ -321,7 +321,7 @@ class Gitg.DiffViewFileSelectable : Object
var buffer = source_view.buffer as Gtk.SourceBuffer;
if (!buffer.forward_iter_to_source_mark(ref iter, "header"))
if (!buffer.forward_iter_to_source_mark(iter, "header"))
{
iter.forward_to_end();
}
......@@ -493,7 +493,7 @@ class Gitg.DiffViewFileSelectable : Object
}
else
{
something_selected = (buffer as Gtk.SourceBuffer).forward_iter_to_source_mark(ref iter, d_selection_category);
something_selected = (buffer as Gtk.SourceBuffer).forward_iter_to_source_mark(iter, d_selection_category);
}
if (something_selected != has_selection)
......
......@@ -132,7 +132,7 @@ gobject_introspection_dep = dependency('gobject-introspection-1.0', version: '>=
gsettings_desktop_schemas_dep = dependency('gsettings-desktop-schemas')
gtk_dep = dependency('gtk+-3.0', version: '>= 3.20.0')
gtkspell_dep = dependency('gtkspell3-3.0')
gtksourceview_dep = dependency('gtksourceview-3.0', version: '>= 3.10')
gtksourceview_dep = dependency('gtksourceview-4', version: '>= 4.0.3')
libgit2_glib_dep = dependency('libgit2-glib-1.0', version: ['>= 0.27.8'])
libpeas_dep = dependency('libpeas-1.0')
libsecret_dep = dependency('libsecret-1')
......
......@@ -140,7 +140,7 @@
{
"type" : "git",
"url" : "https://gitlab.gnome.org/GNOME/gtksourceview.git",
"tag" : "gnome-3-24"
"tag" : "gtksourceview-4-2"
}
]
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment