[gnome-builder] view-stack: use gfile for buffer lookup



commit 45610bd4d3bdf311d52016fa6ba7631c1749d8cd
Author: Christian Hergert <christian hergert me>
Date:   Thu Jun 18 02:29:53 2015 -0700

    view-stack: use gfile for buffer lookup
    
    This changed recently, fixup to match that change.

 src/views/gb-view-stack.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/views/gb-view-stack.c b/src/views/gb-view-stack.c
index 63b83e7..3452c3f 100644
--- a/src/views/gb-view-stack.c
+++ b/src/views/gb-view-stack.c
@@ -735,6 +735,7 @@ gb_view_stack_focus_location (GbViewStack       *self,
     return;
 
   file = ide_source_location_get_file (location);
+  gfile = ide_file_get_file (file);
 
   g_assert (file != NULL);
   g_assert (IDE_IS_FILE (file));


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