Skip to content

Commit 26444c1

Browse files
author
kaixoo
committed
fix: missing migrations from plugins folder
1 parent bcca47e commit 26444c1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

plugins/detect-indent/detect-indent.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public class Scratch.Plugins.DetectIndent: Peas.ExtensionBase, Peas.Activatable
1717
return;
1818
}
1919

20-
var source_buffer = (Gtk.SourceBuffer) view.buffer;
20+
var source_buffer = (GtkSource.Buffer) view.buffer;
2121
Gtk.TextIter it;
2222
source_buffer.get_iter_at_line (out it, 0);
2323

plugins/highlight-word-selection/highlight-word-selection.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public class Scratch.Plugins.HighlightSelectedWords : Peas.ExtensionBase, Peas.A
5858
window_search_context.get_occurrences_count () == 0) {
5959
// Perform plugin selection when there is no ongoing and successful search
6060
current_search_context = new Gtk.SourceSearchContext (
61-
(Gtk.SourceBuffer)current_source.buffer,
61+
(GtkSource.Buffer)current_source.buffer,
6262
null
6363
);
6464
current_search_context.settings.search_text = "";

plugins/spell/spell.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public class Scratch.Plugins.Spell: Peas.ExtensionBase, Peas.Activatable {
9898
});
9999

100100
// Deactivate Spell checker when we are editing a code file
101-
var source_buffer = (Gtk.SourceBuffer) d.source_view.buffer;
101+
var source_buffer = (GtkSource.Buffer) d.source_view.buffer;
102102
var lang = source_buffer.language;
103103
if (lang != null && lang.id != "markdown") {
104104
spell.detach ();

0 commit comments

Comments
 (0)