[gnome-builder] commands: track new tab design
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] commands: track new tab design
- Date: Tue, 2 Dec 2014 04:26:39 +0000 (UTC)
commit 4a65d4a9936300cf6ab04b5b6ec5e9aed0253a91
Author: Christian Hergert <christian hergert me>
Date: Mon Dec 1 20:11:00 2014 -0800
commands: track new tab design
src/commands/gb-command-vim.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/commands/gb-command-vim.c b/src/commands/gb-command-vim.c
index 71dea3f..f96520e 100644
--- a/src/commands/gb-command-vim.c
+++ b/src/commands/gb-command-vim.c
@@ -19,6 +19,7 @@
#include <glib/gi18n.h>
#include "gb-command-vim.h"
+#include "gb-editor-frame-private.h"
#include "gb-editor-tab.h"
#include "gb-editor-tab-private.h"
#include "gb-source-vim.h"
@@ -109,8 +110,10 @@ gb_command_vim_execute (GbCommand *command)
if (self->priv->tab && self->priv->command_text)
{
GbSourceVim *vim;
+ GbEditorFrame *frame;
- vim = gb_source_view_get_vim (self->priv->tab->priv->source_view);
+ frame = gb_editor_tab_get_last_frame (self->priv->tab);
+ vim = gb_source_view_get_vim (frame->priv->source_view);
gb_source_vim_execute_command (vim, self->priv->command_text);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]