[gitg/vala] Do not warn if the repository is null



commit 0ac1f8b02b69ff9f847dde189723f8ef128cab5b
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Mon Jul 2 17:20:29 2012 +0200

    Do not warn if the repository is null

 libgitg-gtk/gitg-gtk-commit-model.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgitg-gtk/gitg-gtk-commit-model.vala b/libgitg-gtk/gitg-gtk-commit-model.vala
index c141e66..2cce380 100644
--- a/libgitg-gtk/gitg-gtk-commit-model.vala
+++ b/libgitg-gtk/gitg-gtk-commit-model.vala
@@ -47,7 +47,7 @@ namespace GitgGtk
 		private uint d_size;
 		private int d_stamp;
 
-		public CommitModel(Gitg.Repository repository)
+		public CommitModel(Gitg.Repository? repository)
 		{
 			Object(repository: repository);
 		}



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