[geary/wip/conversation-polish: 16/26] Remove uused ClientWebView.has_valid_height property
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/conversation-polish: 16/26] Remove uused ClientWebView.has_valid_height property
- Date: Sat, 2 Feb 2019 02:11:19 +0000 (UTC)
commit b5e5a227280b5c18bf1739bd27608ad6d24885f3
Author: Michael Gratton <mike vee net>
Date: Thu Jan 31 09:31:14 2019 +1100
Remove uused ClientWebView.has_valid_height property
src/client/components/client-web-view.vala | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/src/client/components/client-web-view.vala b/src/client/components/client-web-view.vala
index 3af0d7c2..d79e34a7 100644
--- a/src/client/components/client-web-view.vala
+++ b/src/client/components/client-web-view.vala
@@ -202,9 +202,6 @@ public class ClientWebView : WebKit.WebView, Geary.BaseInterface {
/** Determines if the view has any selected text */
public bool has_selection { get; private set; default = false; }
- /** Determines if the view has started rendering the HTML */
- public bool has_valid_height { get; private set; default = false; }
-
/** The HTML content's current preferred height in window pixels. */
public int preferred_height {
get {
@@ -603,7 +600,6 @@ public class ClientWebView : WebKit.WebView, Geary.BaseInterface {
double height = this.webkit_reported_height;
try {
height = WebKitUtil.to_number(result);
- this.has_valid_height = true;
} catch (Geary.JS.Error err) {
debug("Could not get preferred height: %s", err.message);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]