[geary/mjog/folder-load-sync-race: 6/6] Geary.Account: Remove now unused, internal-only signals.




commit 7f110bfa5871f6e11217e2311e720d980b0c9c46
Author: Michael Gratton <mike vee net>
Date:   Tue Feb 9 01:06:24 2021 +1100

    Geary.Account: Remove now unused, internal-only signals.

 src/engine/api/geary-account.vala                       | 13 ++-----------
 src/engine/imap-engine/imap-engine-generic-account.vala |  1 -
 2 files changed, 2 insertions(+), 12 deletions(-)
---
diff --git a/src/engine/api/geary-account.vala b/src/engine/api/geary-account.vala
index bc887459b..787fcbad9 100644
--- a/src/engine/api/geary-account.vala
+++ b/src/engine/api/geary-account.vala
@@ -220,11 +220,6 @@ public abstract class Geary.Account : BaseObject, Logging.Source {
      */
     public signal void folders_deleted(Gee.BidirSortedSet<Geary.Folder> deleted);
 
-    /**
-     * Fired when a Folder's contents is detected having changed.
-     */
-    public signal void folders_contents_altered(Gee.Collection<Geary.Folder> altered);
-
     /**
      * Fired when a Folder's special use is detected having changed.
      */
@@ -560,7 +555,8 @@ public abstract class Geary.Account : BaseObject, Logging.Source {
      * has been flagged to run this will be executed. Designed to be run
      * while the app is in the background and idle.
      */
-    public abstract async void cleanup_storage(GLib.Cancellable? cancellable);
+    public abstract async void cleanup_storage(GLib.Cancellable? cancellable)
+        throws GLib.Error;
 
     /** Fires a {@link opened} signal. */
     protected virtual void notify_opened() {
@@ -589,11 +585,6 @@ public abstract class Geary.Account : BaseObject, Logging.Source {
         folders_deleted(deleted);
     }
 
-    /** Fires a {@link folders_contents_altered} signal. */
-    protected virtual void notify_folders_contents_altered(Gee.Collection<Geary.Folder> altered) {
-        folders_contents_altered(altered);
-    }
-
     /** Fires a {@link email_appended} signal. */
     protected virtual void notify_email_appended(Geary.Folder folder, Gee.Collection<Geary.EmailIdentifier> 
ids) {
         email_appended(folder, ids);
diff --git a/src/engine/imap-engine/imap-engine-generic-account.vala 
b/src/engine/imap-engine/imap-engine-generic-account.vala
index 34639439c..a459274b6 100644
--- a/src/engine/imap-engine/imap-engine-generic-account.vala
+++ b/src/engine/imap-engine/imap-engine-generic-account.vala
@@ -42,7 +42,6 @@ private abstract class Geary.ImapEngine.GenericAccount : Geary.Account {
     /** Local database for the account. */
     public ImapDB.Account local { get; private set; }
 
-    public signal void old_messages_background_cleanup_request(GLib.Cancellable? cancellable);
     /** The account's remote folder synchroniser. */
     internal AccountSynchronizer sync { get; private set; }
 


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