mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-06-20 21:08:28 +02:00
system-settings: remove redundant default methods for update/delete
NMExportedConnection implements these already, and we want the functionality that it provides, so we don't need to override them here.
This commit is contained in:
parent
00e1be621e
commit
fb34976ab9
1 changed files with 0 additions and 22 deletions
|
|
@ -46,26 +46,6 @@ typedef struct {
|
|||
|
||||
/**************************************************************/
|
||||
|
||||
static gboolean
|
||||
update (NMSettingsConnectionInterface *connection,
|
||||
NMSettingsConnectionInterfaceUpdateFunc callback,
|
||||
gpointer user_data)
|
||||
{
|
||||
/* Default handler for subclasses */
|
||||
callback (connection, NULL, user_data);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
do_delete (NMSettingsConnectionInterface *connection,
|
||||
NMSettingsConnectionInterfaceDeleteFunc callback,
|
||||
gpointer user_data)
|
||||
{
|
||||
/* Default handler for subclasses */
|
||||
callback (connection, NULL, user_data);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static GValue *
|
||||
string_to_gvalue (const char *str)
|
||||
{
|
||||
|
|
@ -486,8 +466,6 @@ dbus_get_secrets (NMExportedConnection *exported,
|
|||
static void
|
||||
settings_connection_interface_init (NMSettingsConnectionInterface *iface)
|
||||
{
|
||||
iface->update = update;
|
||||
iface->delete = do_delete;
|
||||
iface->get_secrets = get_secrets;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue