[gitg] Not needed to check two times the repository
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Not needed to check two times the repository
- Date: Fri, 1 Mar 2013 07:52:24 +0000 (UTC)
commit bd7706063f318ee4192af1ad9d1e4e6ed533694d
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Fri Mar 1 08:51:59 2013 +0100
Not needed to check two times the repository
gitg/gitg-window.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gitg/gitg-window.vala b/gitg/gitg-window.vala
index 2b8e535..7fbfd09 100644
--- a/gitg/gitg-window.vala
+++ b/gitg/gitg-window.vala
@@ -78,7 +78,7 @@ public class Window : Gtk.ApplicationWindow, GitgExt.Application, Initable, Gtk.
if (d_repository != null)
{
// set title
- File? workdir = (d_repository != null) ? d_repository.get_workdir() : null;
+ File? workdir = d_repository.get_workdir();
if (workdir != null)
{
title = "(%s) - gitg".printf(workdir.get_parse_name());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]