[geary/wip/ricotz/criticals: 2/2] client: Implementing abstract interface methods doesn't require override
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/ricotz/criticals: 2/2] client: Implementing abstract interface methods doesn't require override
- Date: Sun, 5 Apr 2020 12:58:08 +0000 (UTC)
commit 43002d133e393d5ec798cca029cad7184e82baa4
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Apr 5 14:24:49 2020 +0200
client: Implementing abstract interface methods doesn't require override
src/client/application/application-plugin-manager.vala | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/client/application/application-plugin-manager.vala
b/src/client/application/application-plugin-manager.vala
index abcb73bf..b60c5136 100644
--- a/src/client/application/application-plugin-manager.vala
+++ b/src/client/application/application-plugin-manager.vala
@@ -64,7 +64,7 @@ public class Application.PluginManager : GLib.Object {
this.action_group_name = plugin.get_module_name().replace(".", "_");
}
- public override void register_action(GLib.Action action) {
+ public void register_action(GLib.Action action) {
if (this.action_group == null) {
this.action_group = new GLib.SimpleActionGroup();
this.backing.window_added.connect(on_window_added);
@@ -79,18 +79,18 @@ public class Application.PluginManager : GLib.Object {
this.action_group.add_action(action);
}
- public override void deregister_action(GLib.Action action) {
+ public void deregister_action(GLib.Action action) {
this.action_group.remove_action(action.get_name());
}
- public override void show_folder(Plugin.Folder folder) {
+ public void show_folder(Plugin.Folder folder) {
Geary.Folder? target = this.folders.get_engine_folder(folder);
if (target != null) {
this.backing.show_folder.begin(target);
}
}
- public override async void empty_folder(Plugin.Folder folder)
+ public async void empty_folder(Plugin.Folder folder)
throws Plugin.Error.PERMISSION_DENIED {
MainWindow main = this.backing.last_active_main_window;
if (main == null) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]