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



commit b552f3880f07ff4801ab365b687a91bcfb15d038
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 adcf189..b6a3238 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]