[gnome-builder] vim: indent no longer requires GbSourceVim.
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] vim: indent no longer requires GbSourceVim.
- Date: Sun, 18 Jan 2015 23:02:14 +0000 (UTC)
commit f8ae3a552f3956bdc8312ba12a54e00791ccbeba
Author: Christian Hergert <christian hergert me>
Date: Sun Jan 18 15:02:08 2015 -0800
vim: indent no longer requires GbSourceVim.
src/vim/gb-source-vim.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/vim/gb-source-vim.c b/src/vim/gb-source-vim.c
index e03e291..0e45a22 100644
--- a/src/vim/gb-source-vim.c
+++ b/src/vim/gb-source-vim.c
@@ -2776,7 +2776,6 @@ gb_source_vim_move_page (GbSourceVim *vim,
static void
gb_source_vim_indent (GbSourceVim *vim)
{
-#ifndef GB_SOURCE_VIM_EXTERNAL
GtkSourceView *view;
GtkTextBuffer *buffer;
GtkTextIter iter;
@@ -2792,13 +2791,11 @@ gb_source_vim_indent (GbSourceVim *vim)
if (gtk_text_buffer_get_selection_bounds (buffer, &iter, &selection))
gtk_source_view_indent_lines (view, &iter, &selection);
-#endif
}
static void
gb_source_vim_unindent (GbSourceVim *vim)
{
-#ifndef GB_SOURCE_VIM_EXTERNAL
GtkSourceView *view;
GtkTextBuffer *buffer;
GtkTextIter iter;
@@ -2814,7 +2811,6 @@ gb_source_vim_unindent (GbSourceVim *vim)
if (gtk_text_buffer_get_selection_bounds (buffer, &iter, &selection))
gtk_source_view_unindent_lines (view, &iter, &selection);
-#endif
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]