[gnome-system-tools] Removed unused OobsIfacesConfig in shares-admin



commit 8009b9e0964f30b6301101a66cf4b809f91fc3d5
Author: Milan Bouchet-Valat <nalimilan club fr>
Date:   Mon Feb 8 19:06:19 2010 +0100

    Removed unused OobsIfacesConfig in shares-admin
    
    This object is not used and makes the backend use about 10MB RAM more.

 src/shares/shares-tool.c |    3 ---
 src/shares/shares-tool.h |    1 -
 2 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/shares/shares-tool.c b/src/shares/shares-tool.c
index 69fddd0..4ff16af 100644
--- a/src/shares/shares-tool.c
+++ b/src/shares/shares-tool.c
@@ -68,9 +68,6 @@ gst_shares_tool_init (GstSharesTool *tool)
 	tool->hosts_config = oobs_hosts_config_get ();
 	gst_tool_add_configuration_object (gst_tool, tool->hosts_config);
 
-	tool->ifaces_config = oobs_ifaces_config_get ();
-	gst_tool_add_configuration_object (gst_tool, tool->ifaces_config);
-
 	tool->users_config = oobs_users_config_get ();
 	gst_tool_add_configuration_object (gst_tool, tool->users_config);
 }
diff --git a/src/shares/shares-tool.h b/src/shares/shares-tool.h
index adfc03b..881c9e2 100644
--- a/src/shares/shares-tool.h
+++ b/src/shares/shares-tool.h
@@ -46,7 +46,6 @@ struct _GstSharesTool {
 	/* read only */
 	OobsObject *services_config;
 	OobsObject *hosts_config;
-	OobsObject *ifaces_config;
 	OobsObject *users_config;
 
 	gchar *path;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]