From 9f6cbd504e550819df284aef2b5db1fc7307f59e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Wed, 12 Feb 2014 13:02:11 -0500 Subject: [PATCH] examples/calculator & lib/gtk: fix whitespaces MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- examples/calculator.nit | 6 +++--- lib/gtk3_4/gtk_core.nit | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/examples/calculator.nit b/examples/calculator.nit index 2be8aad..35ed125 100644 --- a/examples/calculator.nit +++ b/examples/calculator.nit @@ -113,9 +113,9 @@ class CalculatorGui if user_data isa Char then # is an operation var c = user_data if c == '.' then - but_dot.sensitive= false - context.switch_to_decimals - lbl_disp.text = "{context.current.to_i}." + but_dot.sensitive= false + context.switch_to_decimals + lbl_disp.text = "{context.current.to_i}." else but_dot.sensitive= true context.push_op( c ) diff --git a/lib/gtk3_4/gtk_core.nit b/lib/gtk3_4/gtk_core.nit index b200f0b..a53d08d 100644 --- a/lib/gtk3_4/gtk_core.nit +++ b/lib/gtk3_4/gtk_core.nit @@ -120,8 +120,6 @@ extern GtkWidget `{GtkWidget *`} fun visible: Bool is extern `{ return gtk_widget_is_visible(recv); `} - - end #Base class for widgets which contain other widgets -- 1.7.9.5