[geary: 12/13] Remove unnecessary return carriage in debug invokations
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary: 12/13] Remove unnecessary return carriage in debug invokations
- Date: Sun, 25 Dec 2016 00:17:02 +0000 (UTC)
commit f8c2a9a7bb1de475b114f895a998b210d8b0ad54
Author: Gautier Pelloux-Prayer <gautier+git damsy net>
Date: Tue Dec 20 13:08:02 2016 +0100
Remove unnecessary return carriage in debug invokations
.../conversation-viewer/conversation-list-box.vala | 2 +-
.../conversation-viewer/conversation-viewer.vala | 2 +-
src/client/util/util-webkit.vala | 4 ++--
src/engine/imap-db/imap-db-account.vala | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/client/conversation-viewer/conversation-list-box.vala
b/src/client/conversation-viewer/conversation-list-box.vala
index cf03c18..4d310a1 100644
--- a/src/client/conversation-viewer/conversation-list-box.vala
+++ b/src/client/conversation-viewer/conversation-list-box.vala
@@ -362,7 +362,7 @@ public class ConversationListBox : Gtk.ListBox {
this.loading_timeout_id =
Timeout.add(LOADING_TIMEOUT_MSEC, () => {
if (this.loading_timeout_id != 0) {
- debug("Loading timed out\n");
+ debug("Loading timed out");
show_loading();
}
this.loading_timeout_id = 0;
diff --git a/src/client/conversation-viewer/conversation-viewer.vala
b/src/client/conversation-viewer/conversation-viewer.vala
index 4366e3f..7ad8c45 100644
--- a/src/client/conversation-viewer/conversation-viewer.vala
+++ b/src/client/conversation-viewer/conversation-viewer.vala
@@ -264,7 +264,7 @@ public class ConversationViewer : Gtk.Stack {
* Sets the currently visible page of the stack.
*/
private new void set_visible_child(Gtk.Widget widget) {
- debug("Showing: %s\n", widget.get_name());
+ debug("Showing: %s", widget.get_name());
if (widget != this.conversation_page &&
get_visible_child() == this.conversation_page) {
// By removing the current list, any load it is currently
diff --git a/src/client/util/util-webkit.vala b/src/client/util/util-webkit.vala
index beb3b02..5a6989f 100644
--- a/src/client/util/util-webkit.vala
+++ b/src/client/util/util-webkit.vala
@@ -139,7 +139,7 @@ namespace Util.DOM {
Regex r = new Regex(PROTOCOL_REGEX, RegexCompileFlags.CASELESS);
result.append(r.match(url) ? "\01%s\01".printf(url) : url);
} catch (Error e) {
- debug("URL parsing error: %s\n", e.message);
+ debug("URL parsing error: %s", e.message);
}
return false; // False to continue processing.
}
@@ -217,7 +217,7 @@ namespace Util.DOM {
result.append(r.match(url) ? "<a href=\"%s\">%s</a>".printf(url, url) : url);
} catch (Error e) {
- debug("URL parsing error: %s\n", e.message);
+ debug("URL parsing error: %s", e.message);
}
return false; // False to continue processing.
}
diff --git a/src/engine/imap-db/imap-db-account.vala b/src/engine/imap-db/imap-db-account.vala
index e686fcc..2892b0d 100644
--- a/src/engine/imap-db/imap-db-account.vala
+++ b/src/engine/imap-db/imap-db-account.vala
@@ -2086,7 +2086,7 @@ private class Geary.ImapDB.Account : BaseObject {
// malformed" error occurs. Remove this when the SQLite
// bug is fixed. See b.g.o #765515 for more info.
if (result.string_at(1) == null) {
- debug("Avoiding a crash from 'database disk image is malformed' error\n");
+ debug("Avoiding a crash from 'database disk image is malformed' error");
result.next(cancellable);
continue;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]