From 893a6e989406b1626b7bfd4effe95ea9e254b8a7 Mon Sep 17 00:00:00 2001 From: Jesse van den Kieboom Date: Mon, 1 Jul 2013 09:55:29 +0200 Subject: [PATCH] Small code cleanup --- gitg/history/gitg-history.vala | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/gitg/history/gitg-history.vala b/gitg/history/gitg-history.vala index f9249e0a..0639260d 100644 --- a/gitg/history/gitg-history.vala +++ b/gitg/history/gitg-history.vala @@ -82,7 +82,8 @@ namespace GitgHistory update_sort_mode(); }); - d_selected = new Gee.HashSet((Gee.HashDataFunc)Ggit.OId.hash, (Gee.EqualDataFunc)Ggit.OId.equal); + d_selected = new Gee.HashSet((Gee.HashDataFunc)Ggit.OId.hash, + (Gee.EqualDataFunc)Ggit.OId.equal); d_navigation_model = new Navigation(application.repository); d_navigation_model.ref_activated.connect((r) => { @@ -95,9 +96,14 @@ namespace GitgHistory update_sort_mode(); - application.bind_property("repository", d_navigation_model, "repository", BindingFlags.DEFAULT); - application.bind_property("repository", d_commit_list_model, "repository", BindingFlags.DEFAULT); - application.bind_property("repository", this, "repository", BindingFlags.DEFAULT); + application.bind_property("repository", d_navigation_model, + "repository", BindingFlags.DEFAULT); + + application.bind_property("repository", d_commit_list_model, + "repository", BindingFlags.DEFAULT); + + application.bind_property("repository", this, + "repository", BindingFlags.DEFAULT); application.notify["repository"].connect((a, r) => { notify_property("available"); @@ -250,9 +256,9 @@ namespace GitgHistory var interface_settings = new Settings("org.gnome.gitg.preferences.interface"); interface_settings.bind("orientation", - d_paned_panels, - "orientation", - SettingsBindFlags.GET); + d_paned_panels, + "orientation", + SettingsBindFlags.GET); } private void update_walker(Navigation n, Gitg.Ref? head)