nm_gconf_connection_duplicate (NMConnection *connection)
{
	NMConnection *dup;

	g_return_val_if_fail (NM_IS_CONNECTION (connection), NULL);

	dup = nm_connection_duplicate (connection);
	g_return_val_if_fail (NM_IS_CONNECTION (dup), NULL);

	nm_gconf_copy_private_connection_values (dup, connection);

	return dup;
}
nm_gconf_connection_duplicate (NMConnection *connection)
{
	NMConnection *dup;

	g_return_val_if_fail (NM_IS_CONNECTION (connection), NULL);

	dup = nm_connection_duplicate (connection);
	g_return_val_if_fail (NM_IS_CONNECTION (dup), NULL);

	nm_gconf_copy_private_connection_values (dup, connection);

	return dup;
}