network: Make a method private
This commit is contained in:
parent
0478abe46c
commit
71785b9109
2 changed files with 2 additions and 14 deletions
|
@ -91,16 +91,6 @@ eap_method_fill_connection (EAPMethod *self,
|
|||
return (*(self->fill_connection)) (self, connection, flags);
|
||||
}
|
||||
|
||||
void
|
||||
eap_method_update_secrets (EAPMethod *self, NMConnection *connection)
|
||||
{
|
||||
g_return_if_fail (self != NULL);
|
||||
g_return_if_fail (connection != NULL);
|
||||
|
||||
if (self->update_secrets)
|
||||
self->update_secrets (self, connection);
|
||||
}
|
||||
|
||||
void
|
||||
eap_method_phase2_update_secrets_helper (EAPMethod *self,
|
||||
NMConnection *connection,
|
||||
|
@ -121,8 +111,8 @@ eap_method_phase2_update_secrets_helper (EAPMethod *self,
|
|||
g_autoptr(EAPMethod) eap = NULL;
|
||||
|
||||
gtk_tree_model_get (model, &iter, column, &eap, -1);
|
||||
if (eap)
|
||||
eap_method_update_secrets (eap, connection);
|
||||
if (eap && eap->update_secrets)
|
||||
eap->update_secrets (self, connection);
|
||||
} while (gtk_tree_model_iter_next (model, &iter));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -65,8 +65,6 @@ void eap_method_fill_connection (EAPMethod *method,
|
|||
NMConnection *connection,
|
||||
NMSettingSecretFlags flags);
|
||||
|
||||
void eap_method_update_secrets (EAPMethod *method, NMConnection *connection);
|
||||
|
||||
EAPMethod *eap_method_ref (EAPMethod *method);
|
||||
|
||||
void eap_method_unref (EAPMethod *method);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue