[gitg] Setting the application property to the window takes care of adding the window



commit 6d7af7866deb36c243d69f8d9593807ea3f942ff
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Wed Feb 20 18:44:37 2013 +0100

    Setting the application property to the window takes care of adding the window

 gitg/gitg-application.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gitg/gitg-application.vala b/gitg/gitg-application.vala
index 876edbd..072c996 100644
--- a/gitg/gitg-application.vala
+++ b/gitg/gitg-application.vala
@@ -418,7 +418,7 @@ public class Application : Gtk.Application
 
        private void new_window(Repository? repo = null, string? hint = null)
        {
-               add_window(Window.create_new(this, repo, hint));
+               Window.create_new(this, repo, hint);
                present_window();
        }
 


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