[gitg] Follow the coding style



commit 5cf7434857bc864661c3fc40cbdd4ba23ac8594b
Author: Techlive Zheng <techlivezheng gmail com>
Date:   Mon Jun 3 15:05:09 2013 +0800

    Follow the coding style

 plugins/history/gitg-history-navigation.vala |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/plugins/history/gitg-history-navigation.vala b/plugins/history/gitg-history-navigation.vala
index 60f58fa..d9f0d67 100644
--- a/plugins/history/gitg-history-navigation.vala
+++ b/plugins/history/gitg-history-navigation.vala
@@ -398,7 +398,8 @@ namespace GitgHistory
                        }
                }
 
-               private void activate_ref(Gitg.Ref? r) {
+               private void activate_ref(Gitg.Ref? r)
+               {
                        if (r != null)
                        {
                                d_selected_head = r.parsed_name.name;
@@ -540,7 +541,8 @@ namespace GitgHistory
 
                public void select()
                {
-                       if (model.selected_iter != null) {
+                       if (model.selected_iter != null)
+                       {
                                get_selection().select_iter(model.selected_iter);
                                model.selected_iter = null;
                        }


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