* libnm-glib/nm-settings.c
libnm-glib/nm-settings.h
- (nm_exported_connection_delete): rename 'delete' to 'do_delete' to
avoid using C++ reserved keywords in headers
* libnm-glib/nm-dbus-connection.c
system-settings/plugins/ifcfg-rh/nm-ifcfg-connection.c
system-settings/plugins/ifcfg-suse/nm-suse-connection.c
system-settings/plugins/ifupdown/nm-ifupdown-connection.c
system-settings/plugins/keyfile/nm-keyfile-connection.c
system-settings/src/nm-sysconfig-connection.c
- Change 'delete' to 'do_delete'
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4343
4912f4e0-d625-0410-9fb7-
b9a5a253dbdc
+2008-11-26 Dan Williams <dcbw@redhat.com>
+
+ * libnm-glib/nm-settings.c
+ libnm-glib/nm-settings.h
+ - (nm_exported_connection_delete): rename 'delete' to 'do_delete' to
+ avoid using C++ reserved keywords in headers
+
+ * libnm-glib/nm-dbus-connection.c
+ system-settings/plugins/ifcfg-rh/nm-ifcfg-connection.c
+ system-settings/plugins/ifcfg-suse/nm-suse-connection.c
+ system-settings/plugins/ifupdown/nm-ifupdown-connection.c
+ system-settings/plugins/keyfile/nm-keyfile-connection.c
+ system-settings/src/nm-sysconfig-connection.c
+ - Change 'delete' to 'do_delete'
+
2008-11-25 Dan Williams <dcbw@redhat.com>
* system-settings/plugins/ifcfg-rh
}
static gboolean
-delete (NMExportedConnection *exported, GError **err)
+do_delete (NMExportedConnection *exported, GError **err)
{
NMDBusConnectionPrivate *priv = NM_DBUS_CONNECTION_GET_PRIVATE (exported);
connection_class->get_settings = get_settings;
connection_class->update = update;
- connection_class->delete = delete;
+ connection_class->do_delete = do_delete;
/* Properties */
g_object_class_install_property
g_return_val_if_fail (NM_IS_EXPORTED_CONNECTION (connection), FALSE);
- if (EXPORTED_CONNECTION_CLASS (connection)->delete)
- success = EXPORTED_CONNECTION_CLASS (connection)->delete (connection, err);
+ if (EXPORTED_CONNECTION_CLASS (connection)->do_delete)
+ success = EXPORTED_CONNECTION_CLASS (connection)->do_delete (connection, err);
if (success)
nm_exported_connection_signal_removed (connection);
GHashTable *new_settings,
GError **err);
- gboolean (*delete) (NMExportedConnection *connection,
+ gboolean (*do_delete) (NMExportedConnection *connection,
GError **err);
/* signals */
}
static gboolean
-delete (NMExportedConnection *exported, GError **error)
+do_delete (NMExportedConnection *exported, GError **error)
{
NMIfcfgConnectionPrivate *priv = NM_IFCFG_CONNECTION_GET_PRIVATE (exported);
connection_class->get_settings = get_settings;
connection_class->update = update;
- connection_class->delete = delete;
+ connection_class->do_delete = do_delete;
/* Properties */
g_object_class_install_property
}
static gboolean
-delete (NMExportedConnection *exported, GError **err)
+do_delete (NMExportedConnection *exported, GError **err)
{
g_set_error (err, NM_SYSCONFIG_SETTINGS_ERROR,
NM_SYSCONFIG_SETTINGS_ERROR_DELETE_NOT_SUPPORTED,
connection_class->get_settings = get_settings;
connection_class->update = update;
- connection_class->delete = delete;
+ connection_class->do_delete = do_delete;
}
}
static gboolean
-delete (NMExportedConnection *exported, GError **err)
+do_delete (NMExportedConnection *exported, GError **err)
{
g_set_error (err, NM_SYSCONFIG_SETTINGS_ERROR,
NM_SYSCONFIG_SETTINGS_ERROR_DELETE_NOT_SUPPORTED,
connection_class->get_settings = get_settings;
connection_class->update = update;
- connection_class->delete = delete;
+ connection_class->do_delete = do_delete;
connection_class->service_get_secrets = service_get_secrets;
/* Properties */
}
static gboolean
-delete (NMExportedConnection *exported, GError **err)
+do_delete (NMExportedConnection *exported, GError **err)
{
NMKeyfileConnectionPrivate *priv = NM_KEYFILE_CONNECTION_GET_PRIVATE (exported);
gboolean success;
- success = NM_EXPORTED_CONNECTION_CLASS (nm_keyfile_connection_parent_class)->delete (exported, err);
+ success = NM_EXPORTED_CONNECTION_CLASS (nm_keyfile_connection_parent_class)->do_delete (exported, err);
if (success)
g_unlink (priv->filename);
connection_class->get_settings = get_settings;
connection_class->service_get_secrets = service_get_secrets;
connection_class->update = update;
- connection_class->delete = delete;
+ connection_class->do_delete = do_delete;
/* Properties */
g_object_class_install_property
}
static gboolean
-delete (NMExportedConnection *exported, GError **err)
+do_delete (NMExportedConnection *exported, GError **err)
{
NMSysconfigConnectionPrivate *priv = NM_SYSCONFIG_CONNECTION_GET_PRIVATE (exported);
DBusGMethodInvocation *context;
object_class->finalize = finalize;
connection_class->update = update;
- connection_class->delete = delete;
+ connection_class->do_delete = do_delete;
}