[anjuta] language-support-python: remove unused editor_settings
- From: Carl-Anton Ingmarsson <carlantoni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] language-support-python: remove unused editor_settings
- Date: Mon, 24 Jun 2013 21:54:16 +0000 (UTC)
commit f46ae5c70c8b6fcd28d1fce6e73acd947516c57c
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date: Mon Jun 24 22:36:57 2013 +0200
language-support-python: remove unused editor_settings
plugins/language-support-python/plugin.c | 4 ----
plugins/language-support-python/plugin.h | 1 -
2 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/plugins/language-support-python/plugin.c b/plugins/language-support-python/plugin.c
index 9466eab..88e062d 100644
--- a/plugins/language-support-python/plugin.c
+++ b/plugins/language-support-python/plugin.c
@@ -486,9 +486,6 @@ python_plugin_dispose (GObject *obj)
if (plugin->settings)
g_object_unref (plugin->settings);
plugin->settings = NULL;
- if (plugin->editor_settings)
- g_object_unref (plugin->editor_settings);
- plugin->editor_settings = NULL;
G_OBJECT_CLASS (parent_class)->dispose (obj);
}
@@ -504,7 +501,6 @@ python_plugin_instance_init (GObject *obj)
plugin->uiid = 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/language-support-python/plugin.h b/plugins/language-support-python/plugin.h
index 5b872f4..da4c02c 100644
--- a/plugins/language-support-python/plugin.h
+++ b/plugins/language-support-python/plugin.h
@@ -67,7 +67,6 @@ struct _PythonPlugin{
/* Preferences */
GtkBuilder* bxml;
GSettings* settings;
- GSettings* editor_settings;
};
struct _PythonPluginClass{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]