Skip to content

Commit 9b8347a

Browse files
authored
Try explicit set object in ActivatablePlugin (#1606)
1 parent d3f3872 commit 9b8347a

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

plugins/brackets-completion/brackets-completion.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class Scratch.Plugins.BracketsCompletion : Peas.ExtensionBase, Scratch.Se
99
"", " ", "\b", "\r", "\n", "\t", ",", ".", ";", ":"
1010
};
1111

12-
public Object object { owned get; construct; }
12+
public Object object { owned get; set construct; }
1313

1414
private Gee.HashMap<string, string> brackets;
1515
private Gee.HashMap<uint, string> keys;

plugins/detect-indent/detect-indent.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ public class Scratch.Plugins.DetectIndent: Peas.ExtensionBase, Scratch.Services.
22
const int MAX_LINES = 500;
33

44
Scratch.Services.Interface plugins;
5-
public Object object {owned get; construct;}
5+
public Object object {owned get; set construct;}
66

77
public void update_state () {
88
}

plugins/editorconfig/editorconfig.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
public class Scratch.Plugins.EditorConfigPlugin: Peas.ExtensionBase, Scratch.Services.ActivatablePlugin {
2121
Scratch.Services.Interface plugins;
22-
public Object object { owned get; construct; }
22+
public Object object { owned get; set construct; }
2323
private Code.FormatBar format_bar;
2424

2525
public void update_state () { }

plugins/fuzzy-search/fuzzy-search.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
public class Scratch.Plugins.FuzzySearch: Peas.ExtensionBase, Scratch.Services.ActivatablePlugin {
10-
public Object object { owned get; construct; }
10+
public Object object { owned get; set construct; }
1111
private const uint ACCEL_KEY = Gdk.Key.F;
1212
private const Gdk.ModifierType ACCEL_MODTYPE = Gdk.ModifierType.MOD1_MASK;
1313

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class Scratch.Plugins.HighlightSelectedWords : Peas.ExtensionBase, Scratc
2626
private const uint SELECTION_HIGHLIGHT_MAX_CHARS = 255;
2727

2828
Scratch.Services.Interface plugins;
29-
public Object object { owned get; construct; }
29+
public Object object { owned get; set construct; }
3030

3131
public void update_state () {}
3232

plugins/markdown-actions/markdown-actions.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class Code.Plugins.MarkdownActions : Peas.ExtensionBase, Scratch.Services
2222
Scratch.Widgets.SourceView current_source;
2323
Scratch.Services.Interface plugins;
2424

25-
public Object object { owned get; construct; }
25+
public Object object { owned get; set construct; }
2626

2727
public void update_state () {}
2828

plugins/pastebin/pastebin.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ namespace Scratch.Services {
7878
public class Scratch.Plugins.Pastebin : Peas.ExtensionBase, Scratch.Services.ActivatablePlugin {
7979
GLib.MenuItem? menuitem = null;
8080
GLib.Menu? share_menu = null;
81-
public Object object { owned get; construct; }
81+
public Object object { owned get; set construct; }
8282

8383
Scratch.Services.Document? doc = null;
8484
Scratch.Services.Interface plugins;

plugins/preserve-indent/preserve-indent.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class Scratch.Plugins.PreserveIndent : Peas.ExtensionBase, Scratch.Servic
2626
private int last_clipboard_indent_level = 0;
2727
private bool waiting_for_clipboard_text = false;
2828

29-
public Object object { owned get; construct; }
29+
public Object object { owned get; set construct; }
3030

3131
public void activate () {
3232
this.documents = new Gee.TreeSet<weak Services.Document> ();

plugins/spell/spell.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class Scratch.Plugins.Spell: Peas.ExtensionBase, Scratch.Services.Activat
2929
GtkSpell.Checker spell = null;
3030
#endif
3131

32-
public Object object {owned get; construct;}
32+
public Object object {owned get; set construct;}
3333

3434
public void update_state () {
3535
}

plugins/vim-emulation/vim-emulation.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class Scratch.Plugins.VimEmulation : Peas.ExtensionBase, Scratch.Services
3434
Scratch.Widgets.SourceView? view = null;
3535

3636
Scratch.Services.Interface plugins;
37-
public Object object { owned get; construct; }
37+
public Object object { owned get; set construct; }
3838

3939
construct {
4040
views = new Gee.TreeSet<Scratch.Widgets.SourceView> ();

0 commit comments

Comments
 (0)