[geary/mjog/mail-merge-plugin: 32/72] src/client: Misc minor build warning and doc comment updates




commit 0290bf19e497229499e66507afd6e6105783f20f
Author: Michael Gratton <mike vee net>
Date:   Tue Jul 7 10:31:26 2020 +1000

    src/client: Misc minor build warning and doc comment updates

 src/client/application/application-plugin-manager.vala   | 8 --------
 src/client/components/components-preferences-window.vala | 1 -
 src/client/plugin/messaging-menu/messaging-menu.vala     | 6 +++++-
 3 files changed, 5 insertions(+), 10 deletions(-)
---
diff --git a/src/client/application/application-plugin-manager.vala 
b/src/client/application/application-plugin-manager.vala
index a4ceabd7d..ec617d6d3 100644
--- a/src/client/application/application-plugin-manager.vala
+++ b/src/client/application/application-plugin-manager.vala
@@ -581,14 +581,6 @@ public class Application.PluginManager : GLib.Object {
         return info.get_module_name() in AUTOLOAD_MODULES;
     }
 
-    internal Gee.Iterator<Plugin.Application> get_plugin_applications() {
-        return Geary.traverse(
-            this.plugin_set.values
-        ).map<Plugin.Application>(
-            (ctx) => ctx.instance.plugin_application
-        ).iterator();
-    }
-
     internal Gee.Collection<NotificationPluginContext> get_notification_contexts() {
         return this.notification_contexts.values.read_only_view;
     }
diff --git a/src/client/components/components-preferences-window.vala 
b/src/client/components/components-preferences-window.vala
index fef6e5f24..65edae644 100644
--- a/src/client/components/components-preferences-window.vala
+++ b/src/client/components/components-preferences-window.vala
@@ -32,7 +32,6 @@ public class Components.PreferencesWindow : Hdy.PreferencesWindow {
             this.sw.notify["active"].connect_after(() => update_plugin());
             this.sw.valign = CENTER;
 
-            var row = new Hdy.ActionRow();
             this.title = plugin.get_name();
             this.subtitle = plugin.get_description();
             this.activatable_widget = this.sw;
diff --git a/src/client/plugin/messaging-menu/messaging-menu.vala 
b/src/client/plugin/messaging-menu/messaging-menu.vala
index 057347fb2..fec7f8ca1 100644
--- a/src/client/plugin/messaging-menu/messaging-menu.vala
+++ b/src/client/plugin/messaging-menu/messaging-menu.vala
@@ -15,7 +15,11 @@ public void peas_register_types(TypeModule module) {
     );
 }
 
-/** Updates the Unity messaging menu when new mail arrives. */
+/**
+ * Updates the Unity messaging menu when new mail arrives.
+ *
+ * @link https://wiki.ubuntu.com/MessagingMenu#Recommended_behavior_for_e-mail_clients
+ */
 public class Plugin.MessagingMenu :
     PluginBase, NotificationExtension, FolderExtension {
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]