[gnome-builder/wip/gtk4-port] plugins/editorui: fix opening in editor workspace



commit 8a9dfcd08f21b7cb3fc4ddeeb03c14e2b455d2dd
Author: Christian Hergert <chergert redhat com>
Date:   Tue Apr 5 17:55:25 2022 -0700

    plugins/editorui: fix opening in editor workspace

 src/plugins/editorui/gbp-editorui-workbench-addin.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/plugins/editorui/gbp-editorui-workbench-addin.c 
b/src/plugins/editorui/gbp-editorui-workbench-addin.c
index ad4ffe6e1..608a7ef32 100644
--- a/src/plugins/editorui/gbp-editorui-workbench-addin.c
+++ b/src/plugins/editorui/gbp-editorui-workbench-addin.c
@@ -134,10 +134,8 @@ find_preferred_workspace_cb (IdeWorkspace *workspace,
 
   if (IDE_IS_PRIMARY_WORKSPACE (workspace))
     *out_workspace = workspace;
-#if 0
   else if (*out_workspace == NULL && IDE_IS_EDITOR_WORKSPACE (workspace))
     *out_workspace = workspace;
-#endif
 }
 
 static void


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