[geary/wip/conversation-polish] 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] Remove uused ClientWebView.has_valid_height property
- Date: Wed, 30 Jan 2019 23:06:50 +0000 (UTC)
commit c94f7a83e798b6dcf91eedf54783d90b504cb5d9
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]