[gitg/vala] A repository can be null



commit 8279a93e6c31e07be16279c94c872be91447f136
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Mon Jul 2 17:16:54 2012 +0200

    A repository can be null

 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 80d176b..7c6bd67 100644
--- a/gitg/gitg-window.vala
+++ b/gitg/gitg-window.vala
@@ -313,7 +313,7 @@ public class Window : Gtk.ApplicationWindow, GitgExt.Application, Initable, Gtk.
 	}
 
 	public static Window? create_new(Gtk.Application app,
-	                                 Repository repository,
+	                                 Repository? repository,
 	                                 GitgExt.ViewAction action)
 	{
 		Window? ret = Resource.load_object<Window>("ui/gitg-window.ui", "window");



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