[PATCH 2/4] Minor style cleanups



Hello,

This below is just a minor obvious style fixing patch.

Applied to master.  I'll probably apply it to gtk2-branch as well.

>From 267bbec20b44ba4dfa9dd9238da30b5efbb1ffc2 Mon Sep 17 00:00:00 2001
From: Dodji Seketeli <dodji gnome org>
Date: Sun, 25 Sep 2011 11:51:34 +0200
Subject: [PATCH 2/4] 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 af893d0..8a7b72c 100644
--- a/src/workbench/nmv-workbench.cc
+++ b/src/workbench/nmv-workbench.cc
@@ -610,7 +610,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 ...");
@@ -636,8 +636,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);
-- 
1.7.6.2


-- 
		Dodji


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