[smuxi: 9/26] Frontend-GNOME: fix typo in variable name
- From: Mirco M. M. Bauer <mmmbauer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [smuxi: 9/26] Frontend-GNOME: fix typo in variable name
- Date: Wed, 14 Oct 2015 16:50:20 +0000 (UTC)
commit 54cc79f4f7eeb3d29658b93a3fb745180f9cd717
Author: Mirco Bauer <meebey meebey net>
Date: Thu Sep 24 12:33:57 2015 +0200
Frontend-GNOME: fix typo in variable name
src/Frontend-GNOME/MainWindow.cs | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/Frontend-GNOME/MainWindow.cs b/src/Frontend-GNOME/MainWindow.cs
index b76a9af..f2f9749 100644
--- a/src/Frontend-GNOME/MainWindow.cs
+++ b/src/Frontend-GNOME/MainWindow.cs
@@ -225,10 +225,10 @@ namespace Smuxi.Frontend.Gnome
entryScrolledWindow.ShadowType = Gtk.ShadowType.EtchedIn;
entryScrolledWindow.HscrollbarPolicy = Gtk.PolicyType.Never;
entryScrolledWindow.SizeRequested += delegate(object o, Gtk.SizeRequestedArgs args) {
- // predict and set useful heigth
- int lineWidth, lineHeigth;
+ // predict and set useful height
+ int lineWidth, lineHeight;
using (var layout = Entry.CreatePangoLayout("Qp")) {
- layout.GetPixelSize(out lineWidth, out lineHeigth);
+ layout.GetPixelSize(out lineWidth, out lineHeight);
}
var it = Entry.Buffer.StartIter;
int newLines = 1;
@@ -242,7 +242,7 @@ namespace Smuxi.Frontend.Gnome
newLines = Math.Min(newLines, 3);
// use text heigth + a bit extra
var bestSize = new Gtk.Requisition() {
- Height = (lineHeigth * newLines) + 5
+ Height = (lineHeight * newLines) + 5
};
args.Requisition = bestSize;
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]