[network-manager-openconnect] properties: remove dead code
- From: Dan Williams <dcbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-openconnect] properties: remove dead code
- Date: Mon, 18 Jul 2011 20:35:18 +0000 (UTC)
commit 0cbbd1683742b19cd623abc0f92c5448dc9c2f93
Author: Dan Williams <dcbw redhat com>
Date: Mon Jul 18 15:38:32 2011 -0500
properties: remove dead code
These virtual functions are no longer used with 0.9.
properties/nm-openconnect.c | 19 -------------------
1 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/properties/nm-openconnect.c b/properties/nm-openconnect.c
index 7161cbb..2c3499f 100644
--- a/properties/nm-openconnect.c
+++ b/properties/nm-openconnect.c
@@ -487,15 +487,6 @@ update_connection (NMVpnPluginUiWidgetInterface *iface,
return TRUE;
}
-static gboolean
-save_secrets (NMVpnPluginUiWidgetInterface *iface,
- NMConnection *connection,
- GError **error)
-{
- return TRUE;
-}
-
-
static NMVpnPluginUiWidgetInterface *
nm_vpn_plugin_ui_widget_interface_new (NMConnection *connection, GError **error)
{
@@ -591,15 +582,6 @@ openconnect_plugin_ui_widget_interface_init (NMVpnPluginUiWidgetInterface *iface
/* interface implementation */
iface_class->get_widget = get_widget;
iface_class->update_connection = update_connection;
- iface_class->save_secrets = save_secrets;
-}
-
-static gboolean
-delete_connection (NMVpnPluginUiInterface *iface,
- NMConnection *connection,
- GError **error)
-{
- return TRUE;
}
static guint32
@@ -667,7 +649,6 @@ openconnect_plugin_ui_interface_init (NMVpnPluginUiInterface *iface_class)
iface_class->get_capabilities = get_capabilities;
iface_class->import_from_file = import;
iface_class->export_to_file = export;
- iface_class->delete_connection = delete_connection;
}
G_MODULE_EXPORT NMVpnPluginUiInterface *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]