[gnome-builder] source-view: remove use of modelines in source view
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] source-view: remove use of modelines in source view
- Date: Wed, 6 May 2015 23:20:08 +0000 (UTC)
commit 85c3be914e76ecb1d7c5f4401d25d4471164699d
Author: Christian Hergert <christian hergert me>
Date: Wed May 6 16:17:53 2015 -0700
source-view: remove use of modelines in source view
This will land as it's own file-settings backend.
libide/ide-source-view.c | 19 -------------------
1 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/libide/ide-source-view.c b/libide/ide-source-view.c
index 5185f2b..dd26341 100644
--- a/libide/ide-source-view.c
+++ b/libide/ide-source-view.c
@@ -60,8 +60,6 @@
#include "ide-source-view-movements.h"
#include "ide-symbol.h"
-#include "modeline-parser.h"
-
#define DEFAULT_FONT_DESC "Monospace 11"
#define ANIMATION_X_GROW 50
#define ANIMATION_Y_GROW 30
@@ -817,8 +815,6 @@ ide_source_view_connect_settings (IdeSourceView *self,
g_assert (IDE_IS_FILE_SETTINGS (file_settings));
egg_binding_set_set_source (priv->file_setting_bindings, file_settings);
-
- modeline_parser_apply_modeline (GTK_SOURCE_VIEW (self));
}
static void
@@ -1308,16 +1304,6 @@ ide_source_view__buffer_loaded_cb (IdeSourceView *self,
}
static void
-ide_source_view__buffer_saved_cb (IdeSourceView *self,
- IdeBuffer *buffer)
-{
- g_assert (IDE_IS_SOURCE_VIEW (self));
- g_assert (IDE_IS_BUFFER (buffer));
-
- modeline_parser_apply_modeline (GTK_SOURCE_VIEW (self));
-}
-
-static void
ide_source_view_bind_buffer (IdeSourceView *self,
IdeBuffer *buffer,
EggSignalGroup *group)
@@ -5752,11 +5738,6 @@ ide_source_view_init (IdeSourceView *self)
G_CALLBACK (ide_source_view__buffer_loaded_cb),
self,
G_CONNECT_SWAPPED);
- egg_signal_group_connect_object (priv->buffer_signals,
- "saved",
- G_CALLBACK (ide_source_view__buffer_saved_cb),
- self,
- G_CONNECT_SWAPPED);
g_signal_connect_object (priv->buffer_signals,
"bind",
G_CALLBACK (ide_source_view_bind_buffer),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]