[nemiver/gtk2-branch] Minor style cleanups



commit 855634c699a289f18bbfd28160f0caf49d765679
Author: Dodji Seketeli <dodji gnome org>
Date:   Sun Sep 25 11:51:34 2011 +0200

    Minor style cleanups
    
    	* src/workbench/nmv-workbench.cc (Workbench::init_window): Add
    	space around '=' and fix some comments.

 src/workbench/nmv-workbench.cc |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/workbench/nmv-workbench.cc b/src/workbench/nmv-workbench.cc
index 9473d7f..f75b9f2 100644
--- a/src/workbench/nmv-workbench.cc
+++ b/src/workbench/nmv-workbench.cc
@@ -621,7 +621,7 @@ Workbench::init_window ()
     IConfMgrSafePtr conf_mgr = get_configuration_manager ();
     THROW_IF_FAIL (conf_mgr);
 
-    int width=700, height=500, pos_x=0, pos_y=0;
+    int width = 700, height = 500, pos_x = 0, pos_y = 0;
     bool maximized=false;
 
     LOG_DD ("getting windows geometry from confmgr ...");
@@ -647,8 +647,8 @@ Workbench::init_window ()
         LOG_DD ("null window geometry from confmgr.");
     }
 
-    //set the minimum width/height of nemiver, just in case.
-    width=0, height=0;
+    // Allow the user to set the minimum width/height of nemiver.
+    width = 0, height = 0;
 
     NEMIVER_TRY
     conf_mgr->get_key_value (CONF_KEY_NEMIVER_WINDOW_MINIMUM_WIDTH, width);



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