examples/calculator & lib/gtk: fix whitespaces
authorAlexis Laferrière <alexis.laf@xymus.net>
Wed, 12 Feb 2014 18:02:11 +0000 (13:02 -0500)
committerAlexis Laferrière <alexis.laf@xymus.net>
Wed, 12 Feb 2014 18:32:00 +0000 (13:32 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

examples/calculator.nit
lib/gtk3_4/gtk_core.nit

index 2be8aad..35ed125 100644 (file)
@@ -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 )
index b200f0b..a53d08d 100644 (file)
@@ -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