[gnome-builder] editor-perspective: fix precondition check



commit dcd13471f14dee4f4704eb8f111165b7b66dc1bd
Author: Christian Hergert <chergert redhat com>
Date:   Fri Oct 28 00:52:02 2016 -0700

    editor-perspective: fix precondition check

 libide/editor/ide-editor-perspective.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/editor/ide-editor-perspective.c b/libide/editor/ide-editor-perspective.c
index fca0207..3e5373a 100644
--- a/libide/editor/ide-editor-perspective.c
+++ b/libide/editor/ide-editor-perspective.c
@@ -306,7 +306,7 @@ ide_editor_perspective_view_destroyed (IdeEditorPerspective *self,
                                        IdeLayoutView        *view)
 {
   g_assert (IDE_IS_EDITOR_PERSPECTIVE (self));
-  g_assert (IDE_IS_EDITOR_VIEW (view));
+  g_assert (IDE_IS_LAYOUT_VIEW (view));
 
   g_signal_emit (self, signals [VIEW_REMOVED], 0, view);
 }


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