[gcalctool] Fix whitespace



commit 690f6cafd141e3ca36c29dfc697d9cc64de03381
Author: Robert Ancell <robert ancell canonical com>
Date:   Wed Oct 20 09:20:46 2010 +1100

    Fix whitespace

 src/math-equation.c |   10 ++++++++--
 src/math-window.c   |    3 ++-
 2 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/src/math-equation.c b/src/math-equation.c
index 29cd71b..2ba60bb 100644
--- a/src/math-equation.c
+++ b/src/math-equation.c
@@ -84,7 +84,7 @@ struct MathEquationPrivate
     GtkTextMark *ans_start, *ans_end;
 
     MathEquationState state;  /* Equation state */
-    GList *undo_stack;           /* History of expression mode states */
+    GList *undo_stack;        /* History of expression mode states */
     GList *redo_stack;
     gboolean in_undo_operation;
   
@@ -651,12 +651,14 @@ math_equation_get_number(MathEquation *equation, MPNumber *z)
     return result;
 }
 
+
 MpSerializer*
 math_equation_get_serializer(MathEquation *equation)
 {
     return equation->priv->serializer;
 }
 
+
 void
 math_equation_set_number_mode(MathEquation *equation, NumberMode mode)
 {
@@ -910,6 +912,7 @@ parse(MathEquation *equation, const char *text, MPNumber *z, char **error_token)
     return mp_equation_parse(text, &options, z, error_token);
 }
 
+
 /*
  * Executed in separate thread. It is thus not a good idea to write to anything
  * in MathEquation but the async queue from here.
@@ -984,6 +987,7 @@ math_equation_solve_real(gpointer data)
     return NULL;
 }
 
+
 static gboolean
 math_equation_show_in_progress(gpointer data)
 {
@@ -993,6 +997,7 @@ math_equation_show_in_progress(gpointer data)
     return false;
 }
 
+
 static gboolean
 math_equation_look_for_answer(gpointer data)
 {
@@ -1025,6 +1030,7 @@ math_equation_look_for_answer(gpointer data)
     return false;
 }
 
+
 void
 math_equation_solve(MathEquation *equation)
 {
@@ -1093,6 +1099,7 @@ math_equation_factorize_real(gpointer data)
     return NULL;
 }
 
+
 void
 math_equation_factorize(MathEquation *equation)
 {
@@ -1344,7 +1351,6 @@ math_equation_constructed (GObject *object)
 }
 
 
-
 static void
 math_equation_class_init (MathEquationClass *klass)
 {
diff --git a/src/math-window.c b/src/math-window.c
index 00bfff8..25d65bd 100644
--- a/src/math-window.c
+++ b/src/math-window.c
@@ -63,7 +63,8 @@ math_window_get_menu_bar(MathWindow *window)
 }
 
 
-MathEquation *math_window_get_equation(MathWindow *window)
+MathEquation *
+math_window_get_equation(MathWindow *window)
 {
     return window->priv->equation;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]