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:
Dan Williams 2009-08-12 17:10:20 -05:00
parent 00e1be621e
commit fb34976ab9

View file

@ -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;
}