From fb34976ab9414e9f87c295bb9e1e1382cba398d1 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Wed, 12 Aug 2009 17:10:20 -0500 Subject: [PATCH] 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. --- src/system-settings/nm-sysconfig-connection.c | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/src/system-settings/nm-sysconfig-connection.c b/src/system-settings/nm-sysconfig-connection.c index db197a3f28..b711c232b0 100644 --- a/src/system-settings/nm-sysconfig-connection.c +++ b/src/system-settings/nm-sysconfig-connection.c @@ -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; }