[anjuta] parser-cxx: remove unused editor_settings
- From: Carl-Anton Ingmarsson <carlantoni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] parser-cxx: remove unused editor_settings
- Date: Mon, 24 Jun 2013 21:54:26 +0000 (UTC)
commit e1b7ddc77d43519ecefe9345895a75c6b3116b00
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date: Mon Jun 24 22:38:32 2013 +0200
parser-cxx: remove unused editor_settings
plugins/parser-cxx/plugin.c | 4 +---
plugins/parser-cxx/plugin.h | 1 -
2 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/plugins/parser-cxx/plugin.c b/plugins/parser-cxx/plugin.c
index 75d46f7..cadbb1d 100644
--- a/plugins/parser-cxx/plugin.c
+++ b/plugins/parser-cxx/plugin.c
@@ -199,8 +199,7 @@ parser_cxx_plugin_dispose (GObject *obj)
/* Disposition codes */
g_object_unref (plugin->settings);
- g_object_unref (plugin->editor_settings);
-
+
G_OBJECT_CLASS (parent_class)->dispose (obj);
}
@@ -213,7 +212,6 @@ parser_cxx_plugin_instance_init (GObject *obj)
plugin->editor_watch_id = 0;
plugin->assist = NULL;
plugin->settings = g_settings_new (PREF_SCHEMA);
- plugin->editor_settings = g_settings_new (ANJUTA_PREF_SCHEMA_PREFIX IANJUTA_EDITOR_PREF_SCHEMA);
}
static void
diff --git a/plugins/parser-cxx/plugin.h b/plugins/parser-cxx/plugin.h
index 0e08ba3..d3b21fb 100644
--- a/plugins/parser-cxx/plugin.h
+++ b/plugins/parser-cxx/plugin.h
@@ -39,7 +39,6 @@ struct _ParserCxxPlugin {
AnjutaPlugin parent;
GSettings* settings;
- GSettings* editor_settings;
gint editor_watch_id;
gboolean support_installed;
GObject *current_editor;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]