[geary/wip/728002-webkit2: 82/96] Don't fail when G_DEBUG=fatal-warnings is set by default.
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/728002-webkit2: 82/96] Don't fail when G_DEBUG=fatal-warnings is set by default.
- Date: Sat, 14 Jan 2017 12:18:43 +0000 (UTC)
commit 41010644d18086d0e1dc5b41a108f2d0549b581b
Author: Michael James Gratton <mike vee net>
Date: Wed Jan 4 21:14:15 2017 +1100
Don't fail when G_DEBUG=fatal-warnings is set by default.
* src/client/components/client-web-view.vala
(ClientWebView::load_user_stylesheet): Don't warn when we can't load
the user CSS file, since that's likely to be the case.
src/client/components/client-web-view.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/client/components/client-web-view.vala b/src/client/components/client-web-view.vala
index 7520732..79e9179 100644
--- a/src/client/components/client-web-view.vala
+++ b/src/client/components/client-web-view.vala
@@ -110,9 +110,9 @@ public class ClientWebView : WebKit.WebView {
null
);
} catch (IOError.NOT_FOUND err) {
- warning("User CSS file does not exist: %s", err.message);
+ debug("User CSS file does not exist: %s", err.message);
} catch (Error err) {
- warning("Failed to load user CSS file: %s", err.message);
+ debug("Failed to load user CSS file: %s", err.message);
}
return user_stylesheet;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]