[vala/wip/housekeeping: 2/2] ccodewriter: Use private _bol field instead of property



commit 182b8cb0df6ebcff29ed8cd514bc6d6b47c29a70
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Nov 1 08:39:57 2016 +0100

    ccodewriter: Use private _bol field instead of property

 ccode/valaccodewriter.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ccode/valaccodewriter.vala b/ccode/valaccodewriter.vala
index 7dc101e..6b8441d 100644
--- a/ccode/valaccodewriter.vala
+++ b/ccode/valaccodewriter.vala
@@ -156,7 +156,7 @@ public class Vala.CCodeWriter {
                        }
                }
 
-               if (!bol) {
+               if (!_bol) {
                        write_newline ();
                }
                
@@ -187,7 +187,7 @@ public class Vala.CCodeWriter {
         * Opens a new block, increasing the indent level.
         */
        public void write_begin_block () {
-               if (!bol) {
+               if (!_bol) {
                        stream.putc (' ');
                } else {
                        write_indent ();


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