[geary] Fix dtor names, empty if block
- From: Jim Nelson <jnelson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary] Fix dtor names, empty if block
- Date: Fri, 26 Sep 2014 18:59:28 +0000 (UTC)
commit 8867ed00cd56fc4bc1587f357cacf50bf3e87784
Author: Jim Nelson <jim yorba org>
Date: Fri Sep 26 11:57:30 2014 -0700
Fix dtor names, empty if block
Latest build of Vala catches these. if block is a logic change, but
harmless as (a) it fixes a bug that (b) is never exercised by the
application, as it does not logout of IMAP sessions.
src/client/folder-list/folder-list-tree.vala | 2 +-
.../imap-engine-email-flag-watcher.vala | 2 +-
src/engine/imap/transport/imap-client-session.vala | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/client/folder-list/folder-list-tree.vala b/src/client/folder-list/folder-list-tree.vala
index 64950ca..f860764 100644
--- a/src/client/folder-list/folder-list-tree.vala
+++ b/src/client/folder-list/folder-list-tree.vala
@@ -31,7 +31,7 @@ public class FolderList.Tree : Sidebar.Tree {
TARGET_ENTRY_LIST, Gdk.DragAction.COPY | Gdk.DragAction.MOVE);
}
- ~FolderList() {
+ ~Tree() {
set_new_messages_monitor(null);
}
diff --git a/src/engine/imap-engine/imap-engine-email-flag-watcher.vala
b/src/engine/imap-engine/imap-engine-email-flag-watcher.vala
index 8c56fb6..40f9935 100644
--- a/src/engine/imap-engine/imap-engine-email-flag-watcher.vala
+++ b/src/engine/imap-engine/imap-engine-email-flag-watcher.vala
@@ -37,7 +37,7 @@ private class Geary.ImapEngine.EmailFlagWatcher : BaseObject {
folder.closed.connect(on_closed);
}
- ~FlagWatcher() {
+ ~EmailFlagWatcher() {
if (watch_id != 0)
message("Warning: Geary.FlagWatcher destroyed before folder closed");
diff --git a/src/engine/imap/transport/imap-client-session.vala
b/src/engine/imap/transport/imap-client-session.vala
index ec45b41..6d667f0 100644
--- a/src/engine/imap/transport/imap-client-session.vala
+++ b/src/engine/imap/transport/imap-client-session.vala
@@ -1193,7 +1193,7 @@ public class Geary.Imap.ClientSession : BaseObject {
if (params.err != null)
throw params.err;
- if(params.proceed);
+ if(params.proceed)
yield command_transaction_async(cmd, cancellable);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]