network: Remove unused virtual method
This commit is contained in:
parent
150e7902e6
commit
37187db328
7 changed files with 0 additions and 37 deletions
|
@ -43,7 +43,6 @@ struct _WirelessSecurityPrivate {
|
|||
WSAddToSizeGroupFunc add_to_size_group;
|
||||
WSFillConnectionFunc fill_connection;
|
||||
WSGetWidgetFunc get_widget;
|
||||
WSUpdateSecretsFunc update_secrets;
|
||||
WSValidateFunc validate;
|
||||
WSDestroyFunc destroy;
|
||||
};
|
||||
|
@ -137,18 +136,6 @@ wireless_security_fill_connection (WirelessSecurity *sec,
|
|||
return (*(priv->fill_connection)) (sec, connection);
|
||||
}
|
||||
|
||||
void
|
||||
wireless_security_update_secrets (WirelessSecurity *sec, NMConnection *connection)
|
||||
{
|
||||
WirelessSecurityPrivate *priv = sec->priv;
|
||||
|
||||
g_return_if_fail (sec != NULL);
|
||||
g_return_if_fail (connection != NULL);
|
||||
|
||||
if (priv->update_secrets)
|
||||
priv->update_secrets (sec, connection);
|
||||
}
|
||||
|
||||
WirelessSecurity *
|
||||
wireless_security_ref (WirelessSecurity *sec)
|
||||
{
|
||||
|
@ -193,7 +180,6 @@ wireless_security_init (gsize obj_size,
|
|||
WSValidateFunc validate,
|
||||
WSAddToSizeGroupFunc add_to_size_group,
|
||||
WSFillConnectionFunc fill_connection,
|
||||
WSUpdateSecretsFunc update_secrets,
|
||||
WSDestroyFunc destroy,
|
||||
const char *ui_resource)
|
||||
{
|
||||
|
@ -217,7 +203,6 @@ wireless_security_init (gsize obj_size,
|
|||
priv->validate = validate;
|
||||
priv->add_to_size_group = add_to_size_group;
|
||||
priv->fill_connection = fill_connection;
|
||||
priv->update_secrets = update_secrets;
|
||||
|
||||
sec->builder = gtk_builder_new ();
|
||||
if (!gtk_builder_add_from_resource (sec->builder, ui_resource, &error)) {
|
||||
|
|
|
@ -34,7 +34,6 @@ typedef void (*WSChangedFunc) (WirelessSecurity *sec, gpointer user_data);
|
|||
|
||||
typedef void (*WSAddToSizeGroupFunc) (WirelessSecurity *sec, GtkSizeGroup *group);
|
||||
typedef void (*WSFillConnectionFunc) (WirelessSecurity *sec, NMConnection *connection);
|
||||
typedef void (*WSUpdateSecretsFunc) (WirelessSecurity *sec, NMConnection *connection);
|
||||
typedef void (*WSDestroyFunc) (WirelessSecurity *sec);
|
||||
typedef gboolean (*WSValidateFunc) (WirelessSecurity *sec, GError **error);
|
||||
typedef GtkWidget* (*WSGetWidgetFunc) (WirelessSecurity *sec);
|
||||
|
@ -61,9 +60,6 @@ void wireless_security_add_to_size_group (WirelessSecurity *sec,
|
|||
void wireless_security_fill_connection (WirelessSecurity *sec,
|
||||
NMConnection *connection);
|
||||
|
||||
void wireless_security_update_secrets (WirelessSecurity *sec,
|
||||
NMConnection *connection);
|
||||
|
||||
void wireless_security_set_adhoc_compatible (WirelessSecurity *sec,
|
||||
gboolean adhoc_compatible);
|
||||
|
||||
|
@ -109,7 +105,6 @@ WirelessSecurity *wireless_security_init (gsize obj_size,
|
|||
WSValidateFunc validate,
|
||||
WSAddToSizeGroupFunc add_to_size_group,
|
||||
WSFillConnectionFunc fill_connection,
|
||||
WSUpdateSecretsFunc update_secrets,
|
||||
WSDestroyFunc destroy,
|
||||
const char *ui_resource);
|
||||
|
||||
|
|
|
@ -94,12 +94,6 @@ auth_combo_changed_cb (GtkWidget *combo, gpointer user_data)
|
|||
sec->size_group);
|
||||
}
|
||||
|
||||
static void
|
||||
update_secrets (WirelessSecurity *parent, NMConnection *connection)
|
||||
{
|
||||
ws_802_1x_update_secrets (GTK_COMBO_BOX (gtk_builder_get_object (parent->builder, "dynamic_wep_auth_combo")), connection);
|
||||
}
|
||||
|
||||
WirelessSecurityDynamicWEP *
|
||||
ws_dynamic_wep_new (NMConnection *connection,
|
||||
gboolean is_editor,
|
||||
|
@ -112,7 +106,6 @@ ws_dynamic_wep_new (NMConnection *connection,
|
|||
validate,
|
||||
add_to_size_group,
|
||||
fill_connection,
|
||||
update_secrets,
|
||||
destroy,
|
||||
"/org/gnome/ControlCenter/network/ws-dynamic-wep.ui");
|
||||
if (!parent)
|
||||
|
|
|
@ -158,7 +158,6 @@ ws_leap_new (NMConnection *connection, gboolean secrets_only)
|
|||
validate,
|
||||
add_to_size_group,
|
||||
fill_connection,
|
||||
update_secrets,
|
||||
NULL,
|
||||
"/org/gnome/ControlCenter/network/ws-leap.ui");
|
||||
if (!parent)
|
||||
|
|
|
@ -269,7 +269,6 @@ ws_wep_key_new (NMConnection *connection,
|
|||
validate,
|
||||
add_to_size_group,
|
||||
fill_connection,
|
||||
update_secrets,
|
||||
destroy,
|
||||
"/org/gnome/ControlCenter/network/ws-wep-key.ui");
|
||||
if (!parent)
|
||||
|
|
|
@ -95,12 +95,6 @@ auth_combo_changed_cb (GtkWidget *combo, gpointer user_data)
|
|||
sec->size_group);
|
||||
}
|
||||
|
||||
static void
|
||||
update_secrets (WirelessSecurity *parent, NMConnection *connection)
|
||||
{
|
||||
ws_802_1x_update_secrets (GTK_COMBO_BOX (gtk_builder_get_object (parent->builder, "wpa_eap_auth_combo")), connection);
|
||||
}
|
||||
|
||||
WirelessSecurityWPAEAP *
|
||||
ws_wpa_eap_new (NMConnection *connection,
|
||||
gboolean is_editor,
|
||||
|
@ -113,7 +107,6 @@ ws_wpa_eap_new (NMConnection *connection,
|
|||
validate,
|
||||
add_to_size_group,
|
||||
fill_connection,
|
||||
update_secrets,
|
||||
destroy,
|
||||
"/org/gnome/ControlCenter/network/ws-wpa-eap.ui");
|
||||
if (!parent)
|
||||
|
|
|
@ -186,7 +186,6 @@ ws_wpa_psk_new (NMConnection *connection, gboolean secrets_only)
|
|||
validate,
|
||||
add_to_size_group,
|
||||
fill_connection,
|
||||
update_secrets,
|
||||
NULL,
|
||||
"/org/gnome/ControlCenter/network/ws-wpa-psk.ui");
|
||||
if (!parent)
|
||||
|
|
Loading…
Add table
Reference in a new issue