[gnome-builder] gb-vim: remove unused variable



commit 5497ff47eb32ebb03f547e79444f0814be11adc6
Author: Sebastien Lafargue <slafargue gnome org>
Date:   Mon Feb 1 19:56:50 2016 +0100

    gb-vim: remove unused variable

 plugins/command-bar/gb-vim.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/plugins/command-bar/gb-vim.c b/plugins/command-bar/gb-vim.c
index 54186ff..9c8c0ef 100644
--- a/plugins/command-bar/gb-vim.c
+++ b/plugins/command-bar/gb-vim.c
@@ -1397,7 +1397,6 @@ gchar **
 gb_vim_complete (GtkWidget   *active_widget,
                  const gchar *line)
 {
-  GtkSourceView  *source_view;
   GPtrArray *ar;
 
   g_assert (GTK_IS_WIDGET (active_widget));
@@ -1408,8 +1407,6 @@ gb_vim_complete (GtkWidget   *active_widget,
     {
       if (IDE_IS_EDITOR_VIEW (active_widget))
         {
-          source_view = GTK_SOURCE_VIEW (IDE_EDITOR_VIEW (active_widget)->frame1->source_view);
-
           if (g_str_has_prefix (line, "set "))
             gb_vim_complete_set (line, ar);
           else if (g_str_has_prefix (line, "colorscheme "))


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