From: Alexis Laferrière Date: Wed, 12 Feb 2014 18:02:11 +0000 (-0500) Subject: examples/calculator & lib/gtk: fix whitespaces X-Git-Tag: v0.6.4~32^2^2 X-Git-Url: http://nitlanguage.org examples/calculator & lib/gtk: fix whitespaces Signed-off-by: Alexis Laferrière --- 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