[gedit] modelines: remove useless method
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] modelines: remove useless method
- Date: Fri, 9 Mar 2012 20:52:51 +0000 (UTC)
commit 2349a0fc13d6ea2830efeb8680c3cb1086c4d85e
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Fri Mar 9 15:35:02 2012 +0100
modelines: remove useless method
plugins/modelines/modeline-parser.c | 8 --------
plugins/modelines/modeline-parser.h | 1 -
2 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/plugins/modelines/modeline-parser.c b/plugins/modelines/modeline-parser.c
index e83121f..a1097d3 100644
--- a/plugins/modelines/modeline-parser.c
+++ b/plugins/modelines/modeline-parser.c
@@ -883,12 +883,4 @@ modeline_parser_apply_modeline (GtkSourceView *view)
g_free (options.language_id);
}
-void
-modeline_parser_deactivate (GtkSourceView *view)
-{
- g_object_set_data (G_OBJECT (gtk_text_view_get_buffer (GTK_TEXT_VIEW (view))),
- MODELINE_OPTIONS_DATA_KEY,
- NULL);
-}
-
/* vi:ts=8 */
diff --git a/plugins/modelines/modeline-parser.h b/plugins/modelines/modeline-parser.h
index 0f0bb77..327b873 100644
--- a/plugins/modelines/modeline-parser.h
+++ b/plugins/modelines/modeline-parser.h
@@ -30,7 +30,6 @@ G_BEGIN_DECLS
void modeline_parser_init (const gchar *data_dir);
void modeline_parser_shutdown (void);
void modeline_parser_apply_modeline (GtkSourceView *view);
-void modeline_parser_deactivate (GtkSourceView *view);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]