[gitg] diff-view: get the selection notification from the renderer



commit 076e5df5b63b28257fd59bc016e5398073ce278f
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Thu Feb 4 18:31:20 2016 +0100

    diff-view: get the selection notification from the renderer

 libgitg/gitg-diff-view.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgitg/gitg-diff-view.vala b/libgitg/gitg-diff-view.vala
index ab66767..9319513 100644
--- a/libgitg/gitg-diff-view.vala
+++ b/libgitg/gitg-diff-view.vala
@@ -333,7 +333,7 @@ public class Gitg.DiffView : Gtk.Grid
                        if (current_file != null)
                        {
                                current_file.show();
-                               current_file.notify["has-selection"].connect(on_selection_changed);     
+                               current_file.renderer.notify["has-selection"].connect(on_selection_changed);  
  
 
                                files.add(current_file);
 


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