2008-10-10 Alexander Sack <asac@ubuntu.com>

Remove implementation for not used NMSystemConfigInterface callback functions
	in ifupdown plugin

	* system-settings/plugins/ifupdown/plugin.c
		- (SCPluginIfupdown_unmanaged_devices_changed): removed
		- (SCPluginIfupdown_connection_added): removed



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4161 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Alexander Sack 2008-10-10 11:10:19 +00:00 committed by Dan Williams
parent 61acde972a
commit 73dfd9643e
2 changed files with 10 additions and 34 deletions

View file

@ -1,3 +1,12 @@
2008-10-10 Alexander Sack <asac@ubuntu.com>
Remove implementation for not used NMSystemConfigInterface callback functions
in ifupdown plugin
* system-settings/plugins/ifupdown/plugin.c
- (SCPluginIfupdown_unmanaged_devices_changed): removed
- (SCPluginIfupdown_connection_added): removed
2008-10-08 Dan Williams <dcbw@redhat.com>
Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)

View file

@ -94,17 +94,8 @@ SCPluginIfupdown_get_connections (NMSystemConfigInterface *config);
static GSList*
SCPluginIfupdown_get_unmanaged_devices (NMSystemConfigInterface *config);
/* Signals */
/* Emitted when a new connection has been found by the plugin */
static void
SCPluginIfupdown_connection_added (NMSystemConfigInterface *config,
NMExportedConnection *connection);
/* Emitted when the list of unmanaged devices changes */
static void
SCPluginIfupdown_unmanaged_devices_changed (NMSystemConfigInterface *config);
/* GObject */
static void
GObject__get_property (GObject *object, guint prop_id,
GValue *value, GParamSpec *pspec);
@ -137,8 +128,6 @@ system_config_interface_init (NMSystemConfigInterface *system_config_interface_c
system_config_interface_class->init = SCPluginIfupdown_init;
system_config_interface_class->get_connections = SCPluginIfupdown_get_connections;
system_config_interface_class->get_unmanaged_devices = SCPluginIfupdown_get_unmanaged_devices;
system_config_interface_class->connection_added = SCPluginIfupdown_connection_added;
system_config_interface_class->unmanaged_devices_changed = SCPluginIfupdown_unmanaged_devices_changed;
}
static void
@ -275,28 +264,6 @@ SCPluginIfupdown_get_unmanaged_devices (NMSystemConfigInterface *config)
return NULL;
}
/* Signals */
/* Emitted when a new connection has been found by the plugin */
static void
SCPluginIfupdown_connection_added (NMSystemConfigInterface *config,
NMExportedConnection *connection)
{
PLUGIN_PRINT("SCPlugin-Ifdown", "connection_added ... started");
g_return_if_fail (config != NULL);
g_return_if_fail (NM_IS_CONNECTION (connection));
PLUGIN_PRINT("SCPlugin-Ifdown", "connection_added ... ended");
}
/* Emitted when the list of unmanaged devices changes */
static void
SCPluginIfupdown_unmanaged_devices_changed (NMSystemConfigInterface *config)
{
PLUGIN_PRINT("SCPlugin-Ifdown", "unmanaged_devices_changed ... started");
g_return_if_fail (config != NULL);
PLUGIN_PRINT("SCPlugin-Ifdown", "unmanaged_devices_changed ... ended");
}
static const char *
get_hostname (NMSystemConfigInterface *config)