[gnome-builder/wip/chergert/layout] layout: actually return the stack visible child



commit a312303f46d71a61f2e8a75359a0687b9026ff4d
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jul 6 16:09:34 2017 -0700

    layout: actually return the stack visible child

 libide/layout/ide-layout-grid.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/layout/ide-layout-grid.c b/libide/layout/ide-layout-grid.c
index cf54ad5..867f4ec 100644
--- a/libide/layout/ide-layout-grid.c
+++ b/libide/layout/ide-layout-grid.c
@@ -713,7 +713,7 @@ ide_layout_grid_get_current_view (IdeLayoutGrid *self)
   stack = ide_layout_grid_get_current_stack (self);
 
   if (stack != NULL)
-    ide_layout_stack_get_visible_child (stack);
+    return ide_layout_stack_get_visible_child (stack);
 
   return NULL;
 }


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